Virtual dataset "sync columns" requires too much manual Intervention #31573
Replies: 3 comments 1 reply
-
Hey @gidinetapp! 👋 I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together! I found two similar closed issues related to the syncing of columns in virtual datasets:
To address the concerns you've raised:
To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
A similar issue was previously reported in the Superset repository, titled "Sync columns from source does not sync columns unless dataset is saved first" [1]. This issue was closed without a solution being found in the comments. Regarding your concerns:
These points highlight areas where the current process could be streamlined to improve user experience. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Converting this to a discussion since it sounds like there's more proposal here than bug report. Happy to convert it back if you can demonstrate that this is actually a bug rather than a workflow that could use some ironing out.
Syncing columns affects the dataset, and thus can affect any number of charts, affecting any number of dashboards. It's kind of a big thing to commit to, so I'm not sure if we want to allow this prior to committing to the dataset changes. Perhaps a "preview results" or "test query" button of some kind would suffice? Or some workflow where it's easier to take the dataset to and from SQL Lab?
If the query returns no data, the fact that there's no columns sounds perfectly accurate and reasonable. I'm not sure what you mean about needing to make a fake query, can you explain more here?
Again, this action can be pretty impactful (e.g. affecting thousands of charts/users with the click of a button) but I could see a couple of options here:
Curious how @yousoph or @kasiazjc or @mistercrunch would feel about any of this. I agree the current workflow can be a bit confusing/tedious, but it's also a highly impactful/dangerous one. |
Beta Was this translation helpful? Give feedback.
-
Bug description
When updating a virtual dataset column names (adding or modifying), after saving the dataset, I need to go to "edit dataset" again and click on "sync columns from source" and save again. Only then can I use the new columns in charts.
There are a few issues regarding this process:
Screenshots/recordings
Superset version
4.0.2
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
Similar issue for superset 2.0.0 (closed because version was no longer supported)
Checklist
Beta Was this translation helpful? Give feedback.
All reactions