Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SQLLab] CSV download row limit set to 1000 #3139

Closed
3 tasks done
rumbin opened this issue Jul 16, 2017 · 2 comments
Closed
3 tasks done

[SQLLab] CSV download row limit set to 1000 #3139

rumbin opened this issue Jul 16, 2017 · 2 comments

Comments

@rumbin
Copy link
Contributor

rumbin commented Jul 16, 2017

Make sure these boxes are checked before submitting your issue - thank you!

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

Superset version

0.18.5

Expected results

CSVs downloaded in SQLLab contain all rows defined by the query.

Actual results

Regardless of the row limit set in the SQL statement, the CSVs only contain 1000 rows of data.

Steps to reproduce

Download the CSV from a query that returns more than 1000 rows and count the number of rows in the resulting CSV.

Investigation

It seems that QUERY_SEARCH_LIMIT and DISPLAY_SQL_MAX_ROW don't influence this behavior.

@rumbin
Copy link
Contributor Author

rumbin commented Jul 18, 2017

It turned out that the behavior was caused by SQL_MAX_ROW which at some point after superset 0.15.4 got split into SQL_MAX_ROW and DISPLAY_SQL_MAX_ROW.

In my custom config I had the former set to 1000 and didn't notice that in more recent versions this is now set in the latter...

@rumbin rumbin closed this as completed Jul 18, 2017
@chengang2
Copy link

Row_Limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants