piffall opened a new issue #16509:
URL: https://github.com/apache/superset/issues/16509


   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](https://user-images.githubusercontent.com/1277789/131357294-e6cf635a-029f-482f-a776-22569074f8a7.png)
   
![image](https://user-images.githubusercontent.com/1277789/131359663-d2a80b6e-6d06-43ab-aa20-e8938ee43db0.png)
   
   
   #### 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`
   
   


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

To unsubscribe, e-mail: [email protected]

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