bkyryliuk commented on a change in pull request #8867: [WIP] Customize schema 
name for the CTA queries
URL: 
https://github.com/apache/incubator-superset/pull/8867#discussion_r361554433
 
 

 ##########
 File path: superset/views/core.py
 ##########
 @@ -2644,8 +2662,9 @@ def sql_json_exec(
             )
 
         # set LIMIT after template processing
-        limits = [mydb.db_engine_spec.get_limit_from_sql(rendered_query), 
limit]
-        query.limit = min(lim for lim in limits if lim is not None)
+        if not config.get("SQLLAB_CTA_NO_LIMIT", False):
 
 Review comment:
   good point :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to