one-data-cookie opened a new issue, #24136: URL: https://github.com/apache/superset/issues/24136
API method `/api/v1/dataset/{pk}/refresh` overrides `columns.groupby` and `columns.filterable` to `true` regardless of their settings. Surprisingly, this doesn't happen when the same is triggered from UI. #### How to reproduce the bug 1. Create/Use a dataset with columns that have `Is filterable` and/or `Is dimension` unticked 2. Sync columns from source (to see it working from UI) 3. Call `/api/v1/dataset/{pk}/refresh` on given dataset (to see it _not_ working via API) ### Expected results Columns are kept untouched (provided there is no change to the underlying query/data, ofc, no matter from where the refresh is triggered. ### Actual results `filterable`/`Is filterable` and `groupby`/`Is dimension` are changed to `true` #### Screenshots Before anything.  After refreshing from UI.  After refreshing via API.  ### Environment - superset version: `2.1.0` ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org