We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d07ff0 commit 9b1e622Copy full SHA for 9b1e622
1 file changed
native/core/src/execution/operators/iceberg_scan.rs
@@ -246,9 +246,11 @@ fn build_s3_credential_loader(metadata_location: &str) -> Option<CustomAwsCreden
246
}
247
let url = url::Url::parse(metadata_location).ok()?;
248
let bucket = url.host_str()?.to_string();
249
+ // Pass the URL path component (matches `s3.rs::create_store`); SPI vendors expect the
250
+ // (bucket, path) pair to compose into a single URI without re-parsing a scheme out.
251
let bridge = CometCredentialBridge::new(
252
bucket,
- metadata_location.to_string(),
253
+ url.path().to_string(),
254
comet_credential_bridge::AccessMode::Read,
255
);
256
Some(CustomAwsCredentialLoader::new(bridge))
0 commit comments