david-heward-unmind opened a new issue, #36021:
URL: https://github.com/apache/superset/issues/36021

   ### Bug description
   
   We run an export grab the yaml files, then check them into source code.
   Then we kick of an action to load new data into a parallel exact same schema 
database. 
   Then sed replace the database_uuid to the new database_uuid.
   Then attempt to import all.
   
   But we get errors as it seems to be trying to create new datasets instead of 
updating the original dataset. 
   
   Should we be able to get this working or is this not possible?
   
   ### Screenshots/recordings
   
   Errors look like this 
   ```
   (psycopg2.errors.UniqueViolation) duplicate key value violates unique 
constraint "uq_tables_uuid"
   
   DETAIL:  Key (uuid)=(ced5c895-40ad-4641-a856-508d29da6121) already exists.
   ```
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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