Skip to content

Commit

Permalink
SNOW-1730243: fix test failure caused by fixture in stored proc (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aling authored Oct 9, 2024
1 parent dcf579b commit bb1ed3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integ/scala/test_snowflake_plan_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test_plan_num_duplicate_nodes_describe_query(session, temp_table):
assert len(query_history.queries) == 1


def test_create_scoped_temp_table(session, sql_simplifier_enabled):
def test_create_scoped_temp_table(session):
table_name = Utils.random_name_for_temp_object(TempObjectType.TABLE)
try:
Utils.create_table(session, table_name, "num int, str string(8)")
Expand Down Expand Up @@ -310,7 +310,7 @@ def test_create_scoped_temp_table(session, sql_simplifier_enabled):
)
inner_select_sql = (
f" SELECT * FROM {table_name}"
if sql_simplifier_enabled
if session._sql_simplifier_enabled
else f" SELECT * FROM ({table_name})"
)
assert (
Expand Down

0 comments on commit bb1ed3d

Please sign in to comment.