Skip to content

Commit c5f884c

Browse files
cpcloudkszucs
authored andcommitted
fix(snowflake): convert path to str when checking for a prefix
1 parent ec533c1 commit c5f884c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/backends/snowflake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ def read_csv(
778778
)
779779
con.exec_driver_sql(create_infer_fmt)
780780

781-
if path.startswith("https://"):
781+
if str(path).startswith("https://"):
782782
with tempfile.NamedTemporaryFile() as tmp:
783783
urlretrieve(path, filename=tmp.name)
784784
tmp.flush()

0 commit comments

Comments
 (0)