8000 fix example of reading parquet from s3 (#896) · kosiew/datafusion-python@97e330b · GitHub
[go: up one dir, main page]

Skip to content

Commit 97e330b

Browse files
authored
fix example of reading parquet from s3 (apache#896)
1 parent c49ca9a commit 97e330b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sql-parquet-s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
ctx = datafusion.SessionContext()
3333
path = f"s3://{bucket_name}/"
34-
ctx.register_object_store(path, s3)
34+
ctx.register_object_store("s3://", s3, None)
3535

3636
ctx.register_parquet("trips", path)
3737

0 commit comments

Comments
 (0)
0