didva opened a new issue #13317:
URL: https://github.com/apache/superset/issues/13317


   ### What:
   Methods getTableMetadata and getTableExtendedMetadata encode URI twice. This 
leads to `An error occurred while fetching table metadata` error message.
   
   Please see:
   
https://github.com/apache/superset/blob/29d6420ecc2187db951f08dd47289277a11f4db5/superset-frontend/src/SqlLab/actions/sqlLab.js#L948
   
https://github.com/apache/superset/blob/29d6420ecc2187db951f08dd47289277a11f4db5/superset-frontend/src/SqlLab/actions/sqlLab.js#L997
   
   ### Expected results:
   Tables with spaces are handled correctly.
   
   ### Actual results:
   
![image](https://user-images.githubusercontent.com/6191109/109008696-4f360d80-76b6-11eb-8e1e-9429fc4e2e85.png)
   
   ### Steps to reproduce:
   * Upload CSV file and create tables with spaces in name.
   * Go to SQL Lab page
   * Select Database, Schema and newly created table
   
   


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

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