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 2022/05/23 14:49:11 UTC

[GitHub] [superset] ag-q opened a new issue, #20161: Wrong message for dataset import failure (when importing with zip file without database file)

ag-q opened a new issue, #20161:
URL: https://github.com/apache/superset/issues/20161

   When importing dataset without database file, the dataset is not imported, but the import message says that the import was successful.
   
   #### How to reproduce the bug
   
   1. Go to Superset datasets and export any dataset.
   2. Delete this dataset from Superset.
   3. Unzip exported archive.
   4. Delete 'databases' folder in the unzipped archive.
   5. Zip the archive without 'databases' folder.
   6. Import zipped archive to Superset datasets.
   
   ### Expected results
   
   Dataset is not imported and the import message says the import failed because the database file is missing.
   
   ### Actual results
   
   The import message says 'Dataset imported', but the dataset is not present in the list of datasets.
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version: Google Chrome 101.0.4951.67
   - superset version: `1.5.0`
   - any feature flags active:
       - "ENABLE_TEMPLATE_PROCESSING": True
       - "DASHBOARD_NATIVE_FILTERS": True
       - "DASHBOARD_CROSS_FILTERS": True
       - "DASHBOARD_NATIVE_FILTERS_SET": True
       - "VERSIONED_EXPORT": True
       - "SQLLAB_BACKEND_PERSISTENCE": True
       - "ESTIMATE_QUERY_COST": True
       - "ENABLE_EXPLORE_DRAG_AND_DROP": True
       - "ALLOW_FULL_CSV_EXPORT": True
       - "UX_BETA": True
       - "DASHBOARD_FILTERS_EXPERIMENTAL": True
       - "DASHBOARD_RBAC": True
       - "EMBEDDED_SUPERSET": True
       - "OMNIBAR": True
       - "GENERIC_CHART_AXES": True
       - "ALLOW_ADHOC_SUBQUERY": True
       - "ENABLE_FILTER_BOX_MIGRATION": True
       - "ENABLE_DND_WITH_CLICK_UX": True
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

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


[GitHub] [superset] ag-q commented on issue #20161: Wrong message for dataset import failure (when importing with zip file without database file)

Posted by GitBox <gi...@apache.org>.
ag-q commented on issue #20161:
URL: https://github.com/apache/superset/issues/20161#issuecomment-1143532178

   I described the easiest way to get this message. In practice, I played around with the dataset import via API (I tested what's needed and what's not for a successful import) and in the above case, the message said everything was fine, but I couldn't find the dataset in the Superset dataset list. I find this message really confusing as it says the import worked and in fact it did not, it should tell me that the database file is missing.


-- 
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: notifications-unsubscribe@superset.apache.org

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


Re: [I] Wrong message for dataset import failure (when importing with zip file without database file) [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20161: Wrong message for dataset import failure (when importing with zip file without database file)
URL: https://github.com/apache/superset/issues/20161


-- 
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: notifications-unsubscribe@superset.apache.org

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


Re: [I] Wrong message for dataset import failure (when importing with zip file without database file) [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20161:
URL: https://github.com/apache/superset/issues/20161#issuecomment-1947482458

   Since we're now on 3.1, on the verge of 4.0, we're not supporting 2.x  or prior versions actively. If anyone is experiencing this issue in current versions, please file a new issue with updated context and repro steps. Thank you for understanding :)
   


-- 
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: notifications-unsubscribe@superset.apache.org

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


[GitHub] [superset] rusackas commented on issue #20161: Wrong message for dataset import failure (when importing with zip file without database file)

Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #20161:
URL: https://github.com/apache/superset/issues/20161#issuecomment-1137443590

   What is the use case for deleting the database from the export, when the dataset relies on the database? We might be able to make the error more useful, but we're not sure what you're trying to accomplish here.


-- 
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: notifications-unsubscribe@superset.apache.org

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