sann05 opened a new issue #16141: URL: https://github.com/apache/superset/issues/16141
If you try to export with API 2 datasets with the same database, the same table name but different schemas, it returns you only 1 dataset ### Expected results Exporting of 2 datasets should give you 2 datasets (files) ### Actual results As the export feature uses table name as the file name for export it returns only 1 file for 2 datasets #### Screenshots   #### How to reproduce the bug 1. Go to SuperSet web 2. Create a database (I used Vertica) 3. Create 2 tables with the same name but with the different schema in the DB 4. Create 2 SuperSet datasets for the tables from step the previous step. 5. Create 2 simple table charts for the 1 for each dataset from the previous step. (This step needs to be done as the export dataset endpoint doesn't work as expected, so I'm using chart export endpoint) 6. Send GET request to `https://{superset_host}:{port}/api/v1/chart/export/` and save archive in the response 7. Unzip the archive and check the amount of files for datasets in `{extracted_archive}/dataset/{database_name}/` ### Environment (please complete the following information): - superset version: `Superset 1.1.0` - python version: `Python 3.7.9` - node.js version: `not found` -- 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]
