Add support for reading v2 row level deletes in Iceberg connector#21189
Add support for reading v2 row level deletes in Iceberg connector#21189tdcmeehan merged 1 commit intoprestodb:masterfrom
Conversation
e340af4 to
4b3bed6
Compare
|
@wypb Thank you for submitting the PR! THere're some test failures in Iceberg. Can you please fix them? |
966d45a to
2fc3cf7
Compare
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff c361c45...f6b2b68.
|
595a2e1 to
588d403
Compare
|
Hi @yingsu00 Thank you for your reply. I've fixed these failed test sets. |
5d605fb to
1bc4744
Compare
|
@wypb I helped resolving the conflict but it results in a separate commit "Merge branch 'master' into iceberg_deletefile" Can you please squash it? |
f7508d2 to
c039bf2
Compare
|
HI @yingsu00 I have squashed the this commit and my branch has been synchronized with the latest code of the master branch. |
tdcmeehan
left a comment
There was a problem hiding this comment.
Some minor comments, will finish review after I return on Wednesday.
presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergUtil.java
Outdated
Show resolved
Hide resolved
presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergPageSourceProvider.java
Outdated
Show resolved
Hide resolved
presto-iceberg/src/main/java/com/facebook/presto/iceberg/IcebergUtil.java
Outdated
Show resolved
Hide resolved
3360bf8 to
719024c
Compare
|
Hi @tdcmeehan I modified the corresponding code according to the review comments, Thank you for your review |
a4ab09b to
45d83d4
Compare
If this happens, please update the doc in line 213 of iceberg.rst appropriately. |
@tdcmeehan I have read the Iceberg document, what you say is right, I will set the default value of |
1c22141 to
48471fa
Compare
|
Hi @steveburnett I have updated the corresponding documents, please help me take a look again, thank you. |
79c8fe6 to
81b6f21
Compare
|
HI @tdcmeehan I synchronized the latest code of the master branch, and then several test cases related to delete file failed. It was because Iceberg was recently upgraded to 1.4.1 (#21230), and the |
|
@wypb let's update the Parquet dependency in Presto and |
There was a problem hiding this comment.
Please update IcebergDistributedSmokeTestBase::testMergeOnReadDisabled to set the session property.
There was a problem hiding this comment.
Sure, I will fix this. thank you.
|
@tdcmeehan I just saw for this we just have a dependency on presto-hive-apache which is not blocked and can be released after we update the parquet dependency. Release of presto-hadoop-apache2 has been blocked which I will be unblocking soon. But this PR is not dependent on that. |
|
@imjalpreet you're right. To clear things up: let's try to directly make the updates to the Parquet dependency. Myself and @wanglinsong can cut the release for |
|
@tdcmeehan I will submit a new PR to upgrade the version of parquet to 1.13.1. BTW, This PR should rely on |
Hi @wypb, I pulled the updated branch, made a local build of the docs, and everything in the docs looks great. Thank you! |
ChunxuTang
left a comment
There was a problem hiding this comment.
Went through the code again and it looks good to me. @wypb Thanks for your updates!
We probably could merge this PR after the version issue is resolved.
878a729 to
0852c49
Compare
|
@wypb will you be creating the PR to bump the dependency in |
|
@tdcmeehan I've already created one(prestodb/presto-hive-apache#61), please help me review this, thank you. |
751ce06 to
71ac549
Compare
860998f to
f6b2b68
Compare
|
HI @tdcmeehan I have synchronized the latest code of the master branch, and now the test cases can be run. Could you help me take a look again? thank you. |
| this(recordReader, orcDataSource, columns, typeManager, systemMemoryContext, stats, runtimeStats, nCopies(columns.size(), false)); | ||
| } | ||
|
|
||
| public OrcBatchPageSource( |
There was a problem hiding this comment.
Can you create an issue to add whatever is necessary for the corresponding selective page source?
|
Thank you for following through this long PR and chasing all the loose ends @wypb! |
Description
Add support for reading v2 row level deletes in Iceberg connector
Cherry-pick of trinodb/trino#11642
Cherry-pick of trinodb/trino#13219
Cherry-pick of trinodb/trino#13395
Motivation and Context
Impact
Test Plan
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.