Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yzou committed Aug 27, 2024
1 parent f283b93 commit 06a21c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/integ/scala/test_snowflake_plan_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ def check_plan_queries(
# the cte optimization is not kicking in when sql simplifier disabled, because
# the cte_optimization_enabled is set to False when constructing the plan for df2,
# and place_holder is not propogated.
# TODO (SNOW-1541096): revisit this test once the cte optimization is switched to the
# new compilation infra.
cte_applied=session.sql_simplifier_enabled,
cte_applied=session.sql_simplifier_enabled
or session._query_compilation_stage_enabled,
exec_queries=df2._plan.execution_queries,
)

Expand Down

0 comments on commit 06a21c1

Please sign in to comment.