chenjian2664 opened a new pull request, #18765:
URL: https://github.com/apache/iceberg/pull/18765

   When `s3.access-points.<bucket>` is configured, `S3FileIO.listPrefix` builds 
each returned location from the access point instead of the bucket in the 
requested prefix. Listing `s3://my-bucket/data/` returns 
`s3://<access-point>/data/file` for a file the table references as 
`s3://my-bucket/data/file`. Callers that match listed locations against table 
metadata, such as orphan file removal with prefix listing (the default in Flink 
`DeleteOrphanFiles`), then report every file as an authority mismatch, and 
ARN-based locations cannot be parsed back into the right bucket and key.
   
   This keeps listing through the access point but returns locations using the 
requested bucket, matching `GCSFileIO` and `ADLSFileIO`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to