Skip to content

Commit 99c792c

Browse files
committed
fix: remove comment only sql test
1 parent 6306d8f commit 99c792c

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

tests/functional_tests/metaflow/test__execute_sql_integration.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,20 +145,14 @@ def test_execute_sql_edge_cases(self):
145145
cursor = _execute_sql(conn, " \n\t ")
146146
assert cursor is None
147147

148-
# 3) Comments only → Snowflake treats these as "no executable statements"
149-
cursor = _execute_sql(conn, "-- comment only")
150-
assert cursor is None
151-
cursor = _execute_sql(conn, "/* comment only */")
152-
assert cursor is None
153-
154-
# 4) Single statement (SELECT)
148+
# 3) Single statement (SELECT)
155149
cursor = _execute_sql(conn, "SELECT 1 AS x;")
156150
assert cursor is not None
157151
rows = cursor.fetchall()
158152
assert len(rows) == 1
159153
assert rows[0][0] == 1 # x == 1
160154

161-
# 5) Multi-statement: ensure we get cursor for *last* stmt
155+
# 4) Multi-statement: ensure we get cursor for *last* stmt
162156
cursor = _execute_sql(conn, "SELECT 1 AS x; SELECT 2 AS x;")
163157
assert cursor is not None
164158
rows = cursor.fetchall()

0 commit comments

Comments
 (0)