cooley-pe opened a new issue #16479:
URL: https://github.com/apache/superset/issues/16479


   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](https://user-images.githubusercontent.com/64038793/131070293-2aba14da-4d4b-46f8-8d23-cdffa31eed02.png)
   
   <img width="346" alt="Screen Shot 2021-08-26 at 9 16 50 PM" 
src="https://user-images.githubusercontent.com/64038793/131070987-82b84b9d-1dfe-4ee5-9b6b-39cb6f95998f.png";>
   
   
   #### 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!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to