diff --git a/examples/sql-parquet-s3.py b/examples/sql-parquet-s3.py index bd7da5e20..61f1e0c50 100644 --- a/examples/sql-parquet-s3.py +++ b/examples/sql-parquet-s3.py @@ -31,7 +31,7 @@ ctx = datafusion.SessionContext() path = f"s3://{bucket_name}/" -ctx.register_object_store(path, s3) +ctx.register_object_store("s3://", s3, None) ctx.register_parquet("trips", path)