-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Open
Labels
data:csvRelated to import/export of CSVsRelated to import/export of CSVs
Description
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:
- 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).
Feature flags:
"DASHBOARD_RBAC": True,
"ENABLE_TEMPLATE_PROCESSING": True,
"CACHE_QUERY_BY_USER": True,
"CACHE_IMPERSONATION": True
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
data:csvRelated to import/export of CSVsRelated to import/export of CSVs