xavier-GitHub76 opened a new issue, #21904:
URL: https://github.com/apache/superset/issues/21904

   Hello,
   
   when a user tries to create a dataset based on a table already in use, the 
following alert is displayed: "An error occurred while creating datasets: 
(table_name) Dataset tests already exists"
   
   
![image](https://user-images.githubusercontent.com/82046143/197181118-d75ec5b7-20bd-497f-a88d-87ec01a6f22f.png)
   
   This is normal to avoid creating duplicates... but I manage to create 
duplicate datasets using the import feature.
   
   The order of followings operations is important :
   
   1. Import a CSV without specify schema
   
   
![image](https://user-images.githubusercontent.com/82046143/197181913-718f15a3-c05a-4261-b896-e1ee8602b3f3.png)
   
   The dataset is created
   
   2. Create manually a dataset on the same table
   
![image](https://user-images.githubusercontent.com/82046143/197182327-d89b03b2-46ac-4a94-b498-e3dffdba4c38.png)
   
   The dataset is created again
   
   
![image](https://user-images.githubusercontent.com/82046143/197182496-e3bfd576-155e-4736-9f26-514043c8df54.png)
   
   
   In the case of a Postgres database, the default schema used is "public" if 
it is not specified.
   
   At the first step, the dataset created does not specify this "public" 
schema, 
   which makes it possible to manually create a dataset on this same table of 
the public schema
   
   Best regards


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