Skip to content

Commit

Permalink
fix(snowflake): convert path to str when checking for a prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Dec 18, 2023
1 parent ec533c1 commit c5f884c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/snowflake/__init__.py
Expand Up @@ -778,7 +778,7 @@ def read_csv(
)
con.exec_driver_sql(create_infer_fmt)

if path.startswith("https://"):
if str(path).startswith("https://"):
with tempfile.NamedTemporaryFile() as tmp:
urlretrieve(path, filename=tmp.name)
tmp.flush()
Expand Down

0 comments on commit c5f884c

Please sign in to comment.