@@ -133,9 +133,9 @@ impl ObjectStorageProvider for GcsConfig {
133
133
let gcs = MetricLayer :: new ( gcs) ;
134
134
135
135
let object_store_registry = DefaultObjectStoreRegistry :: new ( ) ;
136
- // Register GCS client under the "s3 ://" scheme so DataFusion can route
137
- // object store calls to our GoogleCloudStorage implementatio
138
- let url = ObjectStoreUrl :: parse ( format ! ( "s3 ://{}" , & self . bucket_name) ) . unwrap ( ) ;
136
+ // Register GCS client under the "gs ://" scheme so DataFusion can route
137
+ // object store calls to our GoogleCloudStorage implementation
138
+ let url = ObjectStoreUrl :: parse ( format ! ( "gs ://{}" , & self . bucket_name) ) . unwrap ( ) ;
139
139
object_store_registry. register_store ( url. as_ref ( ) , Arc :: new ( gcs) ) ;
140
140
141
141
RuntimeEnvBuilder :: new ( ) . with_object_store_registry ( Arc :: new ( object_store_registry) )
@@ -643,14 +643,14 @@ impl ObjectStorage for Gcs {
643
643
prefixes
644
644
. into_iter ( )
645
645
. map ( |prefix| {
646
- let path = format ! ( "s3 ://{}/{}" , & self . bucket, prefix) ;
646
+ let path = format ! ( "gs ://{}/{}" , & self . bucket, prefix) ;
647
647
ListingTableUrl :: parse ( path) . unwrap ( )
648
648
} )
649
649
. collect ( )
650
650
}
651
651
652
652
fn store_url ( & self ) -> url:: Url {
653
- url:: Url :: parse ( & format ! ( "s3 ://{}" , self . bucket) ) . unwrap ( )
653
+ url:: Url :: parse ( & format ! ( "gs ://{}" , self . bucket) ) . unwrap ( )
654
654
}
655
655
656
656
async fn list_dirs ( & self ) -> Result < Vec < String > , ObjectStorageError > {
0 commit comments