Skip to content

Error loading tables from Hive2/SparkSQL #16509

Closed
@piffall

Description

@piffall

While adding a dataset from Apache Spark SQL / Hive form incorrectly loads tables on Add dataset form. It affects to tables and views. The number of tables + number of views, the number of default on Add dataset select box (see screenshot).

In contrast, querying database using SQL Lab is working perfectly (see screenshot).

Expected results

Add a dataset to Superset.

Actual results

Cannot add the dataset to Superset. No errors or warnings in logs.

Screenshots

image
image

How to reproduce the bug

  1. Add new database
  2. Select Apache Spark SQL
  3. Enter the SQLAlchemy URI: hive://x.x.x.x:10000/default (tested withoud db name also)
  4. Click on Connect
  5. Go to Datasets and add new dataset
  6. Select the new connection
  7. Select the Schema
  8. Table select will be populated with default table names.

Environment

Running the latest version of docker-compose-non-dev.yaml

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions