zhaoyongjie commented on issue #16172:
URL: https://github.com/apache/superset/issues/16172#issuecomment-896568363


   > Our virtual datasources get automatically created with complex names like 
`Untitled Query 2 08/10/2021 0...` to make them unique. 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/Presto/null/Untitled%20Query%202%2008/10/2021%2009:15:26/`.
   > 
   > It looks like maybe this happened when changing datasource metadata 
updating to pull using the name instead of the id 
([here](https://github.com/apache/superset/pull/15887/files#diff-a17a45fe0d0a8a3079cfe67ede4def65af02cef20ba94e9ee827b62edf51df23R491)).
 CC: @zhaoyongjie
   > ### Expected results
   > 
   > Datasource should update
   > ### Actual results
   > 
   > Error
   > #### How to reproduce the bug
   > 
   >     1. Create a virtual datasource with `/` in the name
   > 
   >     2. Try to update the datasource and "sync columns from source"
   > 
   > 
   > ### Environment
   > 
   > (please complete the following information):
   > 
   >     * superset version: `master`
   > 
   >     * python version: `python --version`
   > 
   >     * node.js version: `node -v`
   > 
   >     * any feature flags active:
   > 
   > 
   > ### 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.
   > 
   >     * [ ]  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.
   
   Thanks for fille this issue. On it.


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