Skip to content

Conversation

@prestodb-ci
Copy link
Collaborator

Test PR for branch staging-ec1247316-pr with head ec12473

zhouyuan and others added 23 commits October 17, 2025 07:44
fix decimal avg function precision issue

Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 758) [6020 ] Spark sql avg agg function support decimal commit 1/1 - 44ff88d
And reverts facebookincubator#14934

Alchemy-item: (ID = 679) [oap   ] Register merge extract companion agg functions without suffix commit 1/1 - 830028e
Address comments

disable by default

Alchemy-item: (ID = 532) feat: Build hash table while adding input rows for left semi and anti join commit 1/1 - 73ee99f
Alchemy-item: (ID = 783) [11067] Support scan filter for decimal in ORC commit 1/1 - 84b3c6b
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.

Alchemy-item: (ID = 806) Iceberg staging hub commit 1/11 - 7880f89
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

Alchemy-item: (ID = 806) Iceberg staging hub commit 2/11 - 5dfa21f
Alchemy-item: (ID = 806) Iceberg staging hub commit 3/11 - 29cffa3
Co-authored-by: Chengcheng Jin <[email protected]>

Alchemy-item: (ID = 806) Iceberg staging hub commit 4/11 - d7d5e26
Alchemy-item: (ID = 806) Iceberg staging hub commit 5/11 - a949d0c
Alchemy-item: (ID = 806) Iceberg staging hub commit 6/11 - 496e924
…finity.

Alchemy-item: (ID = 806) Iceberg staging hub commit 7/11 - def7691
Alchemy-item: (ID = 806) Iceberg staging hub commit 8/11 - b0e5587
Alchemy-item: (ID = 806) Iceberg staging hub commit 9/11 - 500d361
Alchemy-item: (ID = 806) Iceberg staging hub commit 10/11 - 8826076
Alchemy-item: (ID = 806) Iceberg staging hub commit 11/11 - 2499c2e
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 763) Support struct schema evolution matching by name commit 1/1 - 3db955e
Alchemy-item: (ID = 625) 13620 fix: Allow reading integers into smaller-range types commit 1/1 - 55dd46a
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 782) [11771] Fix smj result mismatch issue commit 1/1 - 0b7a2cf
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 724) fix: Adding daily tests commit 1/1 - e2eb2c6
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 756) fix: Remove website folder to bypass the security issues commit 1/1 - f7b127b
Alchemy-item: (ID = 811) fix merge issue due to 2 PRs refactor commit 1/1 - d661edc
@prestodb-ci
Copy link
Collaborator Author

@prestodb-ci prestodb-ci closed this Nov 3, 2025
@prestodb-ci prestodb-ci deleted the staging-ec1247316-pr branch November 3, 2025 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants