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). CC: @zhaoyongjie
Expected results
Datasource should update
Actual results
Error
How to reproduce the bug
- Create a virtual datasource with
/ in the name
- 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!
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 urldatasource/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). CC: @zhaoyongjie
Expected results
Datasource should update
Actual results
Error
How to reproduce the bug
/in the nameEnvironment
(please complete the following information):
masterpython --versionnode -vChecklist
Make sure to follow these steps before submitting your issue - thank you!