Skip to content

Commit d327f07

Browse files
committed
only quote for snowflake
1 parent 31bcbdb commit d327f07

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/core/engine_adapter/integration/test_integration.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,12 +1920,15 @@ def test_sushi(ctx: TestContext, tmp_path_factory: pytest.TempPathFactory):
19201920
f"DROP VIEW IF EXISTS {raw_test_schema}.demographics",
19211921
f"CREATE VIEW {raw_test_schema}.demographics AS (SELECT 1 AS customer_id, '00000' AS zip)",
19221922
]
1923-
config.before_all = [
1924-
quote_identifiers(parse_one(e, dialect=ctx.dialect), dialect=ctx.dialect).sql(
1925-
dialect=ctx.dialect
1926-
)
1927-
for e in before_all
1928-
]
1923+
if ctx.dialect == "snowflake":
1924+
config.before_all = [
1925+
quote_identifiers(parse_one(e, dialect=ctx.dialect), dialect=ctx.dialect).sql(
1926+
dialect=ctx.dialect
1927+
)
1928+
for e in before_all
1929+
]
1930+
else:
1931+
config.before_all = before_all
19291932

19301933
# To enable parallelism in integration tests
19311934
config.gateways = {ctx.gateway: config.gateways[ctx.gateway]}

0 commit comments

Comments
 (0)