Skip to content

Commit 8d6169c

Browse files
committed
fix unsupported query syntax for temporary (scoped) stages
1 parent 48d36b3 commit 8d6169c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integ/test_direct_file_operation_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def _test_runner(
6464
stage_name = special_stage_name or random_name_for_temp_object(
6565
TempObjectType.STAGE
6666
)
67-
cursor.execute(f"CREATE OR REPLACE SCOPED TEMP STAGE {stage_name}")
67+
# note(whummer): removing "SCOPED" keyword below, to avoid `Unsupported feature 'SCOPED_TEMPORARY'` error
68+
# cursor.execute(f"CREATE OR REPLACE SCOPED TEMP STAGE {stage_name}")
69+
cursor.execute(f"CREATE OR REPLACE TEMP STAGE {stage_name}")
6870
expected_content = "hello, world"
6971
with TemporaryDirectory() as temp_dir:
7072
base_file_name = special_base_file_name or "test.txt"

0 commit comments

Comments
 (0)