Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions superset/sql_lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def execute_sql_statements( # noqa: C901
for statement in parsed_script.statements:
apply_limit(query, statement)

# some databases (like BigQuery and Kusto) do not persist state across mmultiple
# some databases (like BigQuery and Kusto) do not persist state across multiple
# statements if they're run separately (especially when using `NullPool`), so we run
# the query as a single block.
if db_engine_spec.run_multiple_statements_as_one:
Expand Down Expand Up @@ -475,7 +475,7 @@ def execute_sql_statements( # noqa: C901
db.session.commit()

# Hook to allow environment-specific mutation (usually comments) to the SQL
query.executed_sql = database.mutate_sql_based_on_config(block)
query.executed_sql = database.mutate_sql_based_on_config(block, is_split=config["MUTATE_AFTER_SPLIT"])

This comment was marked as resolved.


try:
result_set = execute_query(query, cursor, log_params)
Expand Down