You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 02:53:48 UTC
Re: [D] Download error with povit table [superset]
GitHub user dosubot[bot] edited a comment on the discussion: Download error with povit table
<!-- Answer -->
There aren't any existing tickets or documentation that directly address download errors with pivot tables when all advanced options (aggregation, show rows/columns totals and subtotals, transpose) are enabled. Recent changes to Superset's export logic—especially the backend `pivot_df` function—handle these features by building a complex DataFrame with MultiIndexes, inserting totals/subtotals, and flattening for CSV/Excel output. When all options are used together, this complexity can trigger backend errors or malformed downloads, especially if there are edge cases in index/column manipulation or DataFrame flattening during export [[pivot_df implementation](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/charts/client_processing.py)].
If possible, try disabling one or more of the advanced options (like subtotals or transpose) to see if a specific combination triggers the error. If you can share the exact error message, your Superset version, or any logs/stack traces, that would help pinpoint the root cause. Recent improvements to export functionality may also be relevant if you're on a newer version [[PR 33569](https://github.com/apache/superset/pull/33569), [PR 33357](https://github.com/apache/superset/pull/33357)].
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=39ea0bb4-4536-4d7a-8de1-87d966d8bea0) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/34348#discussioncomment-13907997
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org