Bug description

In Apache Superset 4.1.4, when export to excel or export to csv, it sends it as a zip file.

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: dosubot[bot]

Hi @anartapdigov-ux! I'm Dosu and I’m helping the superset team.

This is expected behavior in Superset 4.1.4 and recent versions: when exporting to Excel or CSV, Superset will send a ZIP file if there are multiple query results—this can happen due to things like server pagination, summary rows, or multi-table charts. The ZIP will contain one file per query result (for example, the main data and a row count or summary file). If only a single query result is produced, you'll get a plain .csv or .xlsx file instead. There is currently no configuration option to force a single file export when multiple results exist; the ZIP packaging is handled automatically by the backend and is not user-configurable. This is not considered a bug, but there are open discussions about making the export experience more intuitive for end users. If you want to avoid ZIP exports, try configuring your chart or export so that only a single query result is produced (for example, by disabling summary rows or server pagination)
reference 1
reference 2
reference 3

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

Comment From: anartapdigov-ux

Thank you. I turned off pagination, it was solved.