Open frlm opened 5 months ago
Oof, this is indeed very real, even in current versions. @Vitor-Avila have we had anyone run into this?
Oof, this is indeed very real, even in current versions. @Vitor-Avila have we had anyone run into this?
@rusackas no reports on Preset so far. I also just tested with a very simple pivot and it worked.
I wonder if related to https://github.com/apache/superset/discussions/28595 where .csv generation fails in a scheduled report?
I think there's an issue with the null values/cells in the pivot. My pivoted CSV exports fine if there are no blank cells, but as soon as there is at least one blank cell in the chart, the export fails.
Seeing the same here - any NULLs resulting from a pivot render the whole thing un-exportable.
EDIT: I just pulled down 4.0.2
(same version we are running) and ran it locally and I was having a hard time reproducing exactly what I'm seeing in our Superset instance. I will try to recreate it, it may need a certain dataset or mix of types in the Pivottable chart, I'm not sure yet.
I haven't dug deep but would this pending PR address this issue: https://github.com/apache/superset/pull/29898 ? They are both about pivoting and NULLs.
I haven't dug deep but would this pending PR address this issue: #29898 ? They are both about pivoting and NULLs.
on the nose. that's the one. Timely fix.
Bug description
Using a Pivot Chart, when I try to export to pivoted .CSV by clicking on the 3 dots --> Download --> Export to pivoted .CSV, a new window with the message "Internal Server Error 500" showes up.
Error in Superset webapp when I try to export .csv from chart:
Error in Superset Worker log when I schedule Export::
It's strange that pivot table gets generated correctly but .csv export fails
How to reproduce the bug
-
Screenshots/recordings
No response
Superset version
3.0.4
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist