-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add support for partition evolution in Iceberg. #7580
Comments
One thing we'll need to discuss is adding syntax for ALTER TABLE. Looking at the postgresql syntax for CREATE TABLE and ALTER TABLE, we would likely want to add For this table creation
We could update with
|
@bitsondatadev @phd3 when you say "there may be some support for reading partition evolved tables" are there any known issues with reading partition evolved tables ? I would be happy help out. We use Trino only reads while all the writes happen through Spark. Trying to understand the gaps which affect our use case. Thanks in advance |
@tuppimax Currently, there isn’t test coverage around tables with partition spec evolution, so adding them would give us confidence on the read support. However, Trino uses iceberg library itself to generate splits based on provided filters, so it should already be partition spec aware. In addition, partition pruning optimization and delete operation requires that the filters match entire partitions. This code is also aware of partition spec evolution currently. But need to have tests to make sure everything works. |
The tests would need to use Spark to evolve the spec (See |
Now that we've updated to 0.11.0 for Iceberg, we should consider adding support for partition evolution. I spoke with @phd3 and he said there may be some support for reading partition evolved tables but currently we don't support the DDL for updating the table properties after creation.
Docs: https://iceberg.apache.org/evolution/#partition-evolution
The text was updated successfully, but these errors were encountered: