question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Got error while exporting csv in dashboards

See original GitHub issue

I was trying to export the data from dashboards by clicking Export CSV, like below, but got error saying {"message":"Error: Error (planning_exception): {'error': {'root_cause': [{'type': 'planning_exception', 'reason': 'The maximum LIMIT for aggregate sorting is [65536], received [100000]'}], 'type': 'planning_exception', 'reason': 'The maximum LIMIT for aggregate sorting is [65536], received [100000]'}, 'status': 400}"}

image

However, if I go to ‘view chart in Explore’ and exporting csv by click ‘CSV icon’, then the whole queried data can be exported successfully. Does anyone know how it was caused and how to solve it?

Expected results

export and download CSV from the dashboards tab.

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [ V] I have reproduced the issue with at least the latest released version of superset.
  • [ V] I have checked the issue tracker for the same issue and I haven’t found one similar.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lukelin780902commented, Nov 11, 2021

Please provide version? @lukelin-linkernetworks

I directly pull the latest docker image few days ago, and the sha is 3c3cb8e7f2249b0427470253788ec3dc5fd5c5caad74d35ca42e0243f9b4f444

however, when i go with sperset version, it shows Superset 0.0.0dev

0reactions
stale[bot]commented, Apr 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Export CSV Files Using an Embedded Web A...
Hi all, I noticed that when you embed a Web AppBuilder app in ArcGIS Dashboards using Embed Content, you are unable to export...
Read more >
Exporting Table to CSV - Results in Error
Running a query in query builder produces a table succesfully… but when i export to CSV i get a CSV with corrupted contents…...
Read more >
Error when exporting but not when viewing dashboard
I keep getting an error when trying to export my dashboard to pdf. The table that seems to be the problem is fine...
Read more >
Why do I see "Download failed" when exporting a report in ...
The Download failed error can occur when exporting a large report. Upon exporting your report as an Excel or CSV file, the export...
Read more >
Power BI Exports to Excel and CSV are failing
The error is caused by a bug in Microsoft Power BI's API call to export a visual. pbrs_error_2. This is not a local...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found