Skip to content

Conversation

@prestodb-ci
Copy link
Collaborator

Test github actions for PR: #537

lizhou and others added 16 commits August 14, 2025 10:50
fix decimal avg function precision issue

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

Alchemy-item: (ID = 478) [6020 ] Spark sql avg agg function support decimal commit 1/1 - a2c648b
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 479) [oap   ] Register merge extract companion agg functions without suffix commit 1/1 - 8a8b2b8
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 476) [11067] Support scan filter for decimal in ORC commit 1/1 - b432008
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 = 485) Iceberg staging hub commit 1/7 - 0256150
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]>

Alchemy-item: (ID = 485) Iceberg staging hub commit 2/7 - 5cf1bf3
….com

Alchemy-item: (ID = 485) Iceberg staging hub commit 3/7 - 9b416f4
[email protected]>

Alchemy-item: (ID = 485) Iceberg staging hub commit 4/7 - 9693554
# Conflicts:
#	velox/dwio/parquet/writer/Writer.cpp

Alchemy-item: (ID = 485) Iceberg staging hub commit 5/7 - 8341840
Alchemy-item: (ID = 485) Iceberg staging hub commit 6/7 - 459518c
Alchemy-item: (ID = 485) Iceberg staging hub commit 7/7 - 000f4f0
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 477) Support struct schema evolution matching by name commit 1/1 - 4ad32f0
…Type

Alchemy-item: (ID = 446) 13620 fix: Add config for requested type check in ReaderBase::convertType commit 1/1 - a75ae37
Signed-off-by: Yuan <[email protected]>

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

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

Alchemy-item: (ID = 447) fix: Remove website folder to bypass the security issues commit 1/1 - 00fb059
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.

7 participants