sync columns from source not working
See original GitHub issueThe sync columns from source
button in the chart data source editor fails.
Expected results
When I click the sync column
button, superset will update the columns available in the chart per the data source.
Actual results
I get an error and the column that was added to the datasource isn’t available.
Screenshots
How to reproduce the bug
- Run a query in sqllab only selecting a subset of columns.
- Click
Explore
to make a chart. - Click on
Edit datasource
- Add a column to the datasource
- Click save
- Click on
Edit datasource
- Click on the
Columns
tab. - Click
sync columns from source
Environment
(please complete the following information):
- superset version:
1.3
- python version:
3.8.9
- node.js version: n/a
- any feature flags active:
- ENABLE_TEMPLATE_PROCESSING
- ALERT_REPORTS
- DASHBOARD_CROSS_FILTERS
- DASHBOARD_NATIVE_FILTERS
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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
"Sync columns from source" broken for complex datasource ...
The "Sync columns from source" feature seems to be broken because that name gets split up in the url datasource/external_metadata_by_name/table/ ...
Read more >SSIS Error: External Column for Source out of sync with Data ...
Recheck column assignment between source and destination and in-between component as well. Give it a try by setting data flow component's ...
Read more >SSIS Error: External Column for Source out of sync ... - MSDN
I noticed in the import and export wizard there are some xlnm#filterdatabase as seen below with the files that are having issues loading....
Read more >Synchronizing Columns with Your Data Source - IBM
Resynchronize your model by invoking the Modify Columns command from the Tools menu. Use the following procedure to synchronize columns with IBM Cognos...
Read more >Solved: New column in source table not appearing in datase...
Based on my test, when we connect to CSV file in Power BI Desktop, the added column in a CSV file will not...
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
I have flagged the fix PRs for 1.3.1 (I will start working on rc1 this weekend).
@heoun if you need to change the schema you should be able to do it in the save chart editor modal. If this doesn’t work please open a new ticket with detailed reproduction steps. Closing this ticket as this bug is fixed on the forthcoming version 1.3.1.