-
Notifications
You must be signed in to change notification settings - Fork 4
Iceberg staging hub #425
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
base: oss-main
Are you sure you want to change the base?
Iceberg staging hub #425
Conversation
|
alchemy merge |
|
alchemy link e951481,8cb17fb19e24290cf03924e2e4501c844646d7e9,c188f8700bff198ca0c9fad7784ea8401d844f8b |
|
Added new rebase item:
|
|
Failed to cherry-pick commit e951481 in rebase request #426: Please:
|
|
Failed to cherry-pick commit e951481 in rebase request #427: Please:
|
|
alchemy merge @2025-10-22T05:35:01Z |
|
alchemy link 44c99a6,813d750e26f513dd1af1c4eb2b1929e9a637bae7,662374d422fb23a818cc4bf7ba8ef09580e1e14a,1b67eb898866b84630eac5d9b1615a846a4a0066,0acd427f38f3b0ae6e0e5f0edb8849900482303e,b1b6bf9bd4780a5154e7fc44ce20b73dc5ded5e1,b65a48f269933ea2af338b3e634c85ee6f1cf3c5,4b89b2e43953279f895777c0e1b47a57962e28e9,87541a9512ff4873e8ebf3fae3a448a4cb7c617d,39e063c34ee86c6a8efb710c16ea9a12ef22fda4,81c0c28dea63f3c67f3b15604ca594759175aee6,c616b14a7254f9b6e20a8f19e5faa4421a926484,a3328ef6619eaa9f88dc6d7f9eb7799982afbed5 @2025-10-22T05:35:01Z |
|
The following unexpired item was removed at
Added new rebase item:
|
|
Failed to cherry-pick commit 813d750 in rebase request #1196: Please:
|
The function toValues removes duplicated values from the vector and return them in a std::vector. It was used to build an InPredicate. It will be needed for building NOT IN filters for Iceberg equality delete read as well, therefore moving it from velox/functions/prestosql/InPred icate.cpp to velox/type/Filter.h. This commit also renames it to deDuplicateValues to make it easier to understand.
This commit introduces EqualityDeleteFileReader, which is used to read Iceberg splits with equality delete files. The equality delete files are read to construct domain filters or filter functions, which then would be evaluated in the base file readers. When there is only one equality delete field, and when that field is an Iceberg identifier field, i.e. non-floating point primitive types, the values would be converted to a list as a NOT IN domain filter, with the NULL treated separately. This domain filter would then be pushed to the ColumnReaders to filter our unwanted rows before they are read into Velox vectors. When the equality delete column is a nested column, e.g. a sub-column in a struct, or the key in a map, such column may not be in the base file ScanSpec. We need to add/remove these subfields to/from the SchemaWithId and ScanSpec recursively if they were not in the ScanSpec already. A test is also added for such case. If there are more than one equality delete field, or the field is not an Iceberg identifier field, the values would be converted to a typed expression in the conjunct of disconjunts form. This expression would be evaluated as the remaining filter function after the rows are read into the Velox vectors. Note that this only works for Presto now as the "neq" function is not registered by Spark. See https://github.com/ facebookincubator/issues/12667 Note that this commit only supports integral types. VARCHAR and VARBINARY need to be supported in future commits (see facebookincubator#12664). Co-authored-by: Naveen Kumar Mahadevuni <[email protected]> # Conflicts: # velox/connectors/hive/iceberg/tests/IcebergReadTest.cpp
Co-authored-by: Chengcheng Jin <[email protected]>
a3328ef to
fa08c07
Compare
|
alchemy merge @2025-10-24T02:39:32Z |
|
alchemy link 4aa9c1f,0b21ca2ffafab0295dc2ba7d5fb2901deabed171,cdcd1dc1a133b81a778301c2fec261e2afd4be37,a48a3cf463e1e02b4057c9c405279c974f956877,0608c689c201ed01e6686f46dd449cd222841b67,e8a838601f9d9ccb9dc13f2f5697847063180977,6bf461fe36cd66a6798235327a06dfbac050d419,b9bf7f3e181995df679f7aa6dc8fcd5e57f3f9e7,5178cf81e2796c4d00e66bf491ca69cb42bf2f1b,8fa166f6648f7f8559536b08dd3c649937b342f0,fa08c07b98a5afa4a89a297e26aa15db30be71d8 @2025-10-24T02:39:32Z |
|
The following unexpired item was removed at
Added new rebase item:
|
This PR means to temporally holding all iceberg code changes that are not been merged to upstream velox repository.
This is because some of the PRs are dependent each other and we cannot pick them one by one.