rusackas commented on code in PR #42739:
URL: https://github.com/apache/superset/pull/42739#discussion_r3741271470
##########
superset/commands/streaming_export/base.py:
##########
@@ -223,13 +223,15 @@ def _execute_query_and_stream(
# Merge database to prevent DetachedInstanceError
merged_database = session.merge(database)
+ mutated_sql = merged_database.mutate_sql_based_on_config(sql)
Review Comment:
Good catch, fixed. Passing `is_split=True` here mirrors what `get_df`
already does on the non-streaming download path, so it fires once for either
`MUTATE_AFTER_SPLIT` setting instead of double-mutating under the default or
never firing when its True.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]