You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/08/11 07:27:22 UTC

[GitHub] [superset] zhaoyongjie edited a comment on issue #16172: "Sync columns from source" broken for complex datasource names

zhaoyongjie edited a comment 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 the report. 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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org