You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make the "Export to pivoted .CSV" option work for a (relatively) convoluted pivot table and I found some issues. I will create a bug report for each of them.
Description
Throws "Error 505" if configuration file has CSV_EXPORT = {"encoding": "utf-8", "sep": ";", "decimal": ","}.
Since this configuration doesn't work anyways for the normal csv export, I'm okay with just removing it for now, but a fix would be neat.
Steps to reproduce:
Modify 'CSV_EXPORT' in 'config.py' to "CSV_EXPORT = {"encoding": "utf-8", "sep": ";", "decimal": ","}".
Save changes.
Restart Superset.
Create a "pivot table" graph.
Select a numeric metric
Click on 'Download' -> 'Export to pivoted .CSV'
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.10
Node version
I don't know
Browser
Firefox
Additional context
Source code:
I'm using version 4.1.1, but I tried updating 'post_processing.py' to match what's in the master branch's 'client_processing.py' since I needed PR #29898 (which doesn't seem to affect this issue).
The "Error 505" you're encountering when exporting a pivoted CSV with the custom CSV_EXPORT configuration might be related to how Superset handles different encodings, separators, and decimal formats during CSV export. Unfortunately, specific details on how Superset manages these configurations or any error handling mechanisms for them are not available in the current knowledge base.
However, the issue might be due to the custom separator (sep: ";") and decimal (decimal: ",") settings conflicting with the expected format during the export process. Since you mentioned that this configuration doesn't work for normal CSV export either, it might be worth testing with default settings or different combinations to identify the root cause.
Additionally, since you have already tried updating post_processing.py to match the master branch's client_processing.py, it seems that PR #29898 does not address this specific issue. You might want to check if there are any recent updates or patches related to CSV export in the Superset repository that could resolve this problem.
For now, reverting to default CSV export settings or experimenting with different configurations might help as a temporary workaround.
Bug description
I'm trying to make the "Export to pivoted .CSV" option work for a (relatively) convoluted pivot table and I found some issues. I will create a bug report for each of them.
Description
Throws "Error 505" if configuration file has CSV_EXPORT = {"encoding": "utf-8", "sep": ";", "decimal": ","}.
Since this configuration doesn't work anyways for the normal csv export, I'm okay with just removing it for now, but a fix would be neat.
Steps to reproduce:
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.10
Node version
I don't know
Browser
Firefox
Additional context
Source code:
I'm using version 4.1.1, but I tried updating 'post_processing.py' to match what's in the master branch's 'client_processing.py' since I needed PR #29898 (which doesn't seem to affect this issue).
Feature flags:
Checklist
The text was updated successfully, but these errors were encountered: