bkyryliuk commented on a change in pull request #8867: Make schema name for the 
CTA queries and limit configurable
URL: 
https://github.com/apache/incubator-superset/pull/8867#discussion_r375973391
 
 

 ##########
 File path: tests/base_tests.py
 ##########
 @@ -222,22 +222,27 @@ def run_sql(
         query_limit=None,
         database_name="examples",
         sql_editor_id=None,
+        select_as_cta=False,
+        tmp_table_name=None,
     ):
         if user_name:
             self.logout()
             self.login(username=(user_name or "admin"))
         dbid = self._get_database_by_name(database_name).id
+        json_payload = dict(
+            database_id=dbid,
+            sql=sql,
+            client_id=client_id,
+            queryLimit=query_limit,
+            sql_editor_id=sql_editor_id,
+        )
 
 Review comment:
   I prefer {} as well, if both are fine I'll stick with {} rather than dict, 
thanks 

----------------------------------------------------------------
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