Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table name and schema are encoded twice during fetching table metadata on SQL Lab page. #13317

Closed
didva opened this issue Feb 24, 2021 · 0 comments
Closed

Comments

@didva
Copy link
Contributor

@didva didva commented Feb 24, 2021

What:

Methods getTableMetadata and getTableExtendedMetadata encode URI twice. This leads to An error occurred while fetching table metadata error message.

Please see:

function getTableMetadata(table, query, dispatch) {

function getTableExtendedMetadata(table, query, dispatch) {

Expected results:

Tables with spaces are handled correctly.

Actual results:

image

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
@didva didva changed the title URIs are encoded twice during fetching table metadata on SQL Lab page. Table name and schema are encoded twice during fetching table metadata on SQL Lab page. Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants