You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/02/26 04:09:16 UTC

[GitHub] [superset] ITNoesis commented on issue #6197: Not able to import dashboard in the latest version of superset

ITNoesis commented on issue #6197:
URL: https://github.com/apache/superset/issues/6197#issuecomment-786397804


   The issue is still there. When a dashboard or, slice or, table is created a unique id is assigned to it. A dashboard can easily be exported and if it is imported into another instance of superset, the import will be successful until and unless there are no tables/slices/dashboards with the same unique_id present in the target instance of superset.
   
   How I got around it? Manual pain! I exported a dashboard, edited the json and appended 100 (you need to see how many objects you have in your instance of superset/ the backend db for it) to each unique_id, imported the dashboard in same instance of superset without issues.
   
   It works but it is just a workaround not a viable solution in my opinion. The export_function should be intelligent enough to not export the unique_id and import_function should be able to assign a unique id upon import (identity column for example).
   
   Hope this helps!


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

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



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