Integrity error, probably unique constraint (two mysql databases with same tables)
With MySQL, after adding the second database and trying to add tables, I'm getting: Integrity error, probably unique constraint
I've tried also with db.table and db:table and also with schema.
Is having two (or multiple) databases with the tables named in the same way supported in superset ?
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.79. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.
any update pls?
Honestly, it sounds incredible that it's not possible to have the same table name with two different databases. The tool must have some qualities but between this and the confusing interface, I'm done with it.
A workaround is to create a View, for the subsequent tables, so they are unique.
it's probably impossible to remove constraints on some databases. There's some comment from previous issues https://github.com/apache/incubator-superset/issues/5557#issuecomment-410306136. Hope that help
This should help https://github.com/apache/incubator-superset/pull/9882
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.