mistercrunch 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_r360617247
########## File path: superset/config.py ########## @@ -499,6 +499,13 @@ class CeleryConfig(object): # pylint: disable=too-few-public-methods # timeout. SQLLAB_QUERY_COST_ESTIMATE_TIMEOUT = 10 # seconds +# Flag that controls if limit should be inforced on the create table as queries. +SQLLAB_CTA_NO_LIMIT = False + +# Function accepts username, schema name and sql that will be run e.g.: Review comment: I think we want the database object as a param too as the policy may differ across databases. Also could be good to pass in the user object instead of the username in case someone would want to dig into roles/perms. ---------------------------------------------------------------- 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]
