Skip to content

SQL Lab does not show table names in the dropdown box #10940

@rimolive

Description

@rimolive

A clear and concise description of what the bug is.
While selecting Database, schema, and table to inspect the table structure, I noticed that the table dropdown box only shows the schema name, not the table name. If I try selecting any of the options, I get an An error occurred while fetching table metadata error.

Expected results

I can see the columns that belong to the table

Actual results

An An error occurred while fetching table metadata error message appear

Screenshots

https://imgur.com/tfSfvyg

How to reproduce the bug

  1. Go to 'SQL Lab > SQL Editor'
  2. Click on any Database in the dropdown box
  3. After refreshing the schema dropdown box, select any schema with tables
  4. Check the tables dropdown box. It should appear only the schema name, not the tables name

Environment

  • superset version: 0.37.1
  • python version: Python 3.6.12
  • node.js version: N/A
  • npm version: N/A

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • 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.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions