question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sync columns from source not working

See original GitHub issue

The 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

Screen Shot 2021-08-26 at 9 04 54 PM

Screen Shot 2021-08-26 at 9 16 50 PM

How to reproduce the bug

  1. Run a query in sqllab only selecting a subset of columns.
  2. Click Explore to make a chart.
  3. Click on Edit datasource
  4. Add a column to the datasource
  5. Click save
  6. Click on Edit datasource
  7. Click on the Columns tab.
  8. 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:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
villebrocommented, Aug 27, 2021

I have flagged the fix PRs for 1.3.1 (I will start working on rc1 this weekend).

0reactions
villebrocommented, Sep 6, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found