Skip to content

Commit

Permalink
fix(sqllab): : Do not strip comments when executing SQL statements
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley committed Jun 14, 2024
1 parent 31afb62 commit 5f49448
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/sqllab/query_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def render(self, execution_context: SqlJsonExecutionContext) -> str:

parsed_query = ParsedQuery(
query_model.sql,
strip_comments=True,
engine=query_model.database.db_engine_spec.engine,
)
rendered_query = sql_template_processor.process_template(
Expand Down

0 comments on commit 5f49448

Please sign in to comment.