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

Setting row limit in SQL Lab disables warning #1148

Closed
maver1ck opened this issue Sep 20, 2016 · 0 comments · Fixed by #1230
Closed

Setting row limit in SQL Lab disables warning #1148

maver1ck opened this issue Sep 20, 2016 · 0 comments · Fixed by #1230
Labels
!deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab

Comments

@maver1ck
Copy link
Contributor

Hi,
I found following bug.
I set in caravel_config.py row limit for SQL Lab:

SQL_MAX_ROW = 100

This disables warning because in JS limit is constant and equal 1000.
https://github.com/airbnb/caravel/blob/e8088d5c9a522db5e0e165988fba47893337fd5b/caravel/assets/javascripts/SqlLab/components/SqlEditor.jsx#L196

@xrmx xrmx added the sqllab Namespace | Anything related to the SQL Lab label Sep 20, 2016
@mistercrunch mistercrunch added the !deprecated-label:bug Deprecated label - Use #bug instead label Sep 22, 2016
@bkyryliuk bkyryliuk self-assigned this Sep 30, 2016
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
zhaoyongjie added a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants