Skip to content

[Draft] fix identity timestamp gap#1769

Open
unidevel wants to merge 16 commits intomainfrom
timestamp
Open

[Draft] fix identity timestamp gap#1769
unidevel wants to merge 16 commits intomainfrom
timestamp

Conversation

@unidevel
Copy link
Copy Markdown
Collaborator

@unidevel unidevel commented Mar 5, 2026

rui-mo and others added 14 commits March 3, 2026 10:14
Alchemy-item: (ID = 1043) [OAP] Support struct schema evolution matching by name commit 1/1 - 5c132f1
Alchemy-item: (ID = 883) [OAP] [13620] Allow reading integers into smaller-range types  commit 1/1 - 4cae2f5
…ter join

Signed-off-by: Yuan <yuanzhou@apache.org>

Alchemy-item: (ID = 1095) [OAP] [11771] Fix smj result mismatch issue commit 1/1 - 791678d
Alchemy-item: (ID = 1103) feat: Enable the hash join to accept a pre-built hash table for joining commit 1/1 - 8ca7ac1
# Conflicts:
#	velox/connectors/hive/iceberg/tests/IcebergInsertTest.cpp
#	velox/connectors/hive/iceberg/tests/IcebergTestBase.h
#	velox/connectors/hive/iceberg/tests/TransformE2ETest.cpp

Alchemy-item: (ID = 1128) Iceberg staging hub commit 1/5 - 8099c59c5ece4470b06011473accfa3321c0fc6a
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.

feat(connector): Support reading Iceberg split with equality deletes

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 <Naveen.Mahadevuni@ibm.com>

Alchemy-item: (ID = 1128) Iceberg staging hub commit 2/5 - 7979fd31fa973b6364ee616885de733865f60d0f
Add iceberg partition transforms.

Co-authored-by: Chengcheng Jin <Chengcheng.Jin@ibm.com>

Add NaN statistics to parquet writer.

Collect Iceberg data file statistics in dwio.

Integrate Iceberg data file statistics and adding unit test.

Support write field_id to parquet metadata SchemaElement.

Implement iceberg sort order

Add clustered Iceberg writer mode.

Fix parquet writer ut

Add IcebergConnector

Fix unittest error

Alchemy-item: (ID = 1128) Iceberg staging hub commit 3/5 - 8ad56c59eb15ce469365e37836fedde1b78d32a5
Alchemy-item: (ID = 1128) Iceberg staging hub commit 4/5 - fb1a0e5275ff40e88139b5b7c34cd632b0b887b1
Alchemy-item: (ID = 1128) Iceberg staging hub commit 5/5 - c69677f57c4f1db1cc004eee3461a52842d99de6
Signed-off-by: Yuan <yuanzhou@apache.org>

Alchemy-item: (ID = 906) fix: Adding daily tests commit 1/2 - e2eb2c6
we can cache ccache on every build even on failure, since ibm/velox is
always incremental build

Alchemy-item: (ID = 906) fix: Adding daily tests commit 2/2 - 0899ddc
1
Alchemy-item: (ID = 988) Add fileNameGenerator to the constructor of IcebergInsertTableHandle commit 1/1 - a5f7e46
Alchemy-item: (ID = 1046) Remove website folder commit 1/1 - 1787292
@unidevel unidevel requested a review from majetideepak as a code owner March 5, 2026 10:29
@prestodb-ci prestodb-ci force-pushed the main branch 13 times, most recently from a6b747b to d2b4eba Compare March 14, 2026 06:11
@prestodb-ci prestodb-ci force-pushed the main branch 8 times, most recently from ce78850 to b40c4c8 Compare April 2, 2026 17:02
@prestodb-ci prestodb-ci force-pushed the main branch 7 times, most recently from a63cfe4 to f230429 Compare April 13, 2026 06:50
@prestodb-ci prestodb-ci force-pushed the main branch 4 times, most recently from 55ad294 to 63c6274 Compare April 21, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants