Can't sync column from source on complex queries #13865
Labels
#bug
Bug report
explore:dataset
Related to the dataset of Explore
P2
Priority item - High
question & help wanted
Use Github discussions instead
I can't use "sync column from source" on virtual datasets whose query doesn't start with SELECT.
Expected results
Whatever my query is, I should be able to sync column from source for my virtual datasets.
Actual results
When my query starts with SELECT, there's no problem.
When my query start with "WITH" statements :
I'm forced to re-run the query in SQL Lab, and save is over the previous virtual dataset
What's more, contrary to the previous version of superset (0.x.x), the time columns are not detected, but this seems to be a different issue.
Screenshots
How to reproduce the bug
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Nothing to report
The text was updated successfully, but these errors were encountered: