juanmanuelramallo opened a new issue, #24412:
URL: https://github.com/apache/superset/issues/24412

   Datasets can not be updated when they point to different tables that have 
the same name.
   
   #### How to reproduce the bug
   1. Go to Datasets
   2. Click on + Dataset
   3. Select a database
   4. Select a schema
   5. Select a table (i.e. "report")
   6. Click on Create Dataset and Create Chart
   7. Go to Datasets again
   8. Repeat from step 2 to 4
   9. Select a different table from the one selected in step 5 but select one 
with the same name (i.e. "report")
   10. Click on Create Dataset and Create Chart (This step only works when the 
metastore database is not SQLite)
   11. Go to Datasets
   12. Click on Edit button (pencil icon) next to any dataset created in the 
previous steps
   13. Click on Save and then on Ok
   
   ### Expected results
   Successful message is displayed: "The dataset has been saved".
   
   ### Actual results
   An error message is displayed: "Dataset {dataset name} already exists".
   
   #### Screenshots
   
![image](https://github.com/apache/superset/assets/13257832/1cf0aa01-31d7-4107-b5c1-859464057027)
   
   ### Environment
   - browser type and version: Google Chrome Version 114.0.5735.133 (Official 
Build) (arm64)
   - superset version: Superset 0.0.0-dev
   - python version: Python 3.9.16
   - node.js version: (unsure about this, I'm using the docker image 
https://hub.docker.com/r/apache/superset)
   - any feature flags active: None
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version 
of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   The Database Connection used is a Google Bigquery one.


-- 
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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to