Can anyone please clarify the working of different kind of limits in the config
I want a clear description of these limits or if they affect each other, 1 ROW_LIMIT 2 VIZ_ROW_LIMIT 3 SQL_MAX_ROW 4 DISPLAY_MAX_ROW
Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.71. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I set all of the limits to 500 in the config.py (version 0.34.1), expecting that the limits within superset will be set accordingly.
ROW_LIMIT = 500
VIZ_ROW_LIMIT = 500
FILTER_SELECT_ROW_LIMIT = 500
SQLALCHEMY_TRACK_MODIFICATIONS = True
SUPERSET_WEBSERVER_TIMEOUT = 60
But unfortunately its not working.

Does those configuration parameter have a different purpose?
I just want to limit the rows for the superset users to 500, otherwise the query gets to large.
Best wishes
@mistercrunch can you help?
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.
Any update on this?
Not from my side. Still having the problem with too much rows
version 0.33.10402 has same problem where the default VIZ_ROW_LIMIT is 10000. Any changes to this config.py parameter are not working.
Where to make this changes to set NO(none) row_limit in the incoming data? @mistercrunch @graceguo-supercat
having same problem on 0.37, no change when setting on config.py
This is a serious flaw in the setup. I want to create a histogram of the count of all of my users, caching should be the solution to any performance issues, not just limiting the throughput of data.
@villebro @srinify it would be good to get to the bottom of this and properly document the configuration parameters in config.py
The options seem to be hard-coded in the javascript file, independent of the python config file, in
./superset-frontend/src/explore/controls.jsx, on line 93
const ROW_LIMIT_OPTIONS = [10, 50, 100, 250, 500, 1000, 5000, 10000, 50000];
There's a slight design mismatch here. Superset follows the BI tool design default of 'you must apply aggregations' (sure you can apply an average over 1, but it's clumsy) and yet also sets limits on the amount of data you can load in. The two do not work neatly together.
The problem could be solved by:
- Recommending that users write the aggregation into their SQL query and then chart the raw data.
- Allowing finer control of dataset limits. I suspect 50K is on the low side with sufficient column restrictions.
Turned out I was getting frustrated at nothing, you can enter your own choice of row limit as @etr2460 kindly told me on the slack channel. I'll spread the news wherever I see similar confusion.
