-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trino Iceberg s3 path handling incompatibility when using s3a://
or s3n://
paths with //
#23097
Comments
There was a problem with |
#17803 might be the issue, but not sure, it does not have examples. |
s3a://
or s3n://
paths with //
@sopel39 is this issue reproducible with Trino 454 ? |
@findinpath yes, the issue is reproducible since when We are actually leaning towards creating an Iceberg table property, e.g:
|
Yes, we need this, as soon legacy fs will be out, so we need way to read the broken tables from the native. We are also leaning to keep this mode/functionality exactly same as legacy fs. |
we definitely have people relying on the legacy behavior, at least a flag to support the behavior if we dont want to make it as a default |
We went through with the investigation on this one (although it took a longer time to get to look deeper into it). tldr; Moving on the object storage the files from What's left to do is to adjust
We'll follow-up soon with a PR and we'll work with @mosabua on documenting best a "fix" plan for this unfortunate hick-up. Why is "move" (copy to new location & delete old files) in detriment of a backward-compatibility table property being suggested? The table created on |
I think we can not force users to perform this move when the migrate from the legacy file system to the new file system support. After all they used Trino in the first place to get the tables in place. It potentially comes with large cost and risk and we should offer a way for users to migrate to the new file system without a move. |
Also we are actively discussing this on slack and it will take some time to make a decision together with @electrum and others. https://trinodb.slack.com/archives/C07ABNN828M/p1724946906029559 |
Meeting minutes with @mosabua @electrum @findinpath @mayankvadariya We've decided to add a Trino Iceberg table migration procedure to update table metadata/manifests to contain the correct S3 path so that the table will be queryable in Native file system. |
Introduction:
//
->/
fors3a/s3n
paths, but preserves//
fors3
paths//
for alls3/s3a/s3n
//
fors3/s3a/s3n
paths//
) as part of table informationTrino breaking behaviour
Problem
Solution proposals
s3a/s3n
(under feature flag)?//
), but write only with//
for both legacy and native?cc @electrum @osscm @rstyp
The text was updated successfully, but these errors were encountered: