You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to change the dataset/data source of a chart, after saving, the dataset keeps changing back to the old one.
Environments
Superset Version: This bug was originally discovered by our user in Production which runs Superset 2.0. But I can also reproduce the error in 2.0.1 using docker-compose.
We are using Python 3.9 but Python version should not matter here.
Chrome was used to reproduce the error but the browser should not matter
How to reproduce the bug
Here is how I reproduced the bug in 2.0.1:
Choose any chart, find the data source
Create another data source which has the same schema and dataset configuration (I did a SELECT and then created a view based on the results)
Copy all the metrics, fns configured in the original dataset to make sure they are the same
Go back to the chart, update the data source to the new one, follow the prompt and then save
After saving, the chart's data source changes back to the old one
Summary
When trying to change the dataset/data source of a chart, after saving, the dataset keeps changing back to the old one.
Environments
How to reproduce the bug
Here is how I reproduced the bug in 2.0.1:
Videos / Screenshots
Google.Chrome.-.Superset.2023-03-06.at.4.39.27.PM.mp4
The text was updated successfully, but these errors were encountered: