[table editor] Change virtual dataset won't work
See original GitHub issueHow to reproduce the bug
-
Go to a chart using virtual dataset, which has sql query
-
Click on Edit dataset
-
change sql: (in my case, change
> '2021-07-01'
to= '2021-07-01'
) -
save it
-
It looks dataset is updated with success message
-
But if you open Edit dataset modal, yo will see old sql
-
in the API, you can see the old sql is sent out in the update API:
Environment
(please complete the following information):
- superset version:
superset version
- python version:
python --version
- node.js version:
node -v
- any feature flags active:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
cc @junlincc
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Columns list are not updated on chart editor after ... - GitHub
You are right, after SAVE the columns should be automatically updated. The workaround to resolve the issues is to save the new virtual...
Read more >How to Edit Virtual Data Sets with the Dremio Semantic Layer
From the transformation menu on the city column, select Group by, and don't add any measures. Identifying unique values. Click Apply to see...
Read more >Solved: New column in source table not appearing in datase...
The only way I've been able to get new columns to appear is to change the Source line in the Advanced Editor. Specifically,...
Read more >Change the source data for a PivotTable - Microsoft Support
On the Analyze tab, in the Data group, click Change Data Source, and then click Change Data Source. The Change PivotTable Data Source...
Read more >Data editor | DataGrip Documentation - JetBrains
To make this mode a default for tables and views, open settings by pressing Ctrl+Alt+S and navigate to Database | Data Views and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thanks for filing, we also noticed it. moved it to p0 this is pretty sever so we are picking it up from you guys. @eschutho
@graceguo-supercat I am on it.