ganczarek opened a new issue, #25123: URL: https://github.com/apache/superset/issues/25123
[Superset uses](https://github.com/search?q=repo%3Aapache%2Fsuperset+language%3Apython+%2Fwith+ZipFile%28.*%22w%22%29%2F+AND+NOT+path%3Atest&type=code) default ZipFile compression, which is [ZIP_STORED](https://docs.python.org/3/library/zipfile.html#zipfile.ZipFile). Hence, exported assets are not compressed. I suspect it's not intentional or at least should be configurable. #### How to reproduce the bug Export all assets with `/api/v1/assets/export/` endpoint. Other export endpoints - like `/api/v1/dashboard/export/` - also don't compress results. ### Expected results Result zip file is compressed. ### Actual results Result zip file is not compressed. ### Environment - browser type and version: n/a - superset version: `2.1.0` - python version: `3.8.13` - node.js version: n/a - any feature flags active: `VERSIONED_EXPORT: True` (enabled by deafult) ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] 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: [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]
