There are some break/conflict when importing/exporting dashboard between different superset instances
We have 2 superset instances running on live production. One is for our developers to design/implement the awesome dashboards and slices, and providing them to customers. The other one is for customers to add, update and view their slices and dashboards.
What we are going to do is that once we develop new slice and dashboard, we want to export these resources from developer superset and import them to customer superset without conflict.
Superset version
0.22.0
Expected results
We want to import dashboards and slices without any break of existing resources in running superset.
Actual results
With our research, while importing them, superset is checking the remote id. For example, there is a export file from developer superset and the other export file from customer superset. Unfortunately dashboards of these 2 export files have same remote id. If we are going to import these 2 files to customer superset, it will totally be conflict.
We really want to know:
- How can we import/export dashboards and slices from/to different superset without any break or conflict?
- We are thinking that it is because of remote id (it is coming from original id of dashboard and slice). So what if we change all ids from id(integer) to uuid-type? If it is possible, how can we implement(customize) it?
We'd like to hear good news from you soon.
Its related with the database primary key id, as you say. When importing, it overwrites the dashboard in the same id of the table dashboards on the destination superset. Migrating to uuids seems a good and simple solution.
Agreed, it should have been uuids from the get go.
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.
There is any progress of this issue? We are dealing with dev and prod environment, and this became a blocking point for our company. There is any documentation about the behaviour
I am dealing with the same problem working in 2 env. It's a bit confusing the import/export behaviour when I am looking to overwrite an existing dashboard with charts. There is any update?