Skip to content

Conversation

@prestodb-ci
Copy link
Collaborator

Test PR for branch staging-139b93216-pr with head 139b932

zhouyuan and others added 23 commits October 17, 2025 07:44
Summary:
Pull Request resolved: facebookincubator#15280

Adding initial support for Presto's [SphericalGeography](https://prestodb.io/docs/current/functions/geospatial.html#to_spherical_geography-Geometry-SphericalGeography)
type.  This is just the type definition, without constructors.

Also included is some minor cleanup for tests and build files.

Reviewed By: kgpai

Differential Revision: D85460565

fbshipit-source-id: 41fff958ed133e3b76d920938d0692f0ad255b1b
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
Signed-off-by: Yuan <[email protected]>

Alchemy-item: (ID = 767) [11067] Support scan filter for decimal in ORC commit 1/1 - d938670
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 = 760) Iceberg staging hub commit 1/11 - 0b98cf8
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 = 760) Iceberg staging hub commit 2/11 - ef8c06c
Alchemy-item: (ID = 760) Iceberg staging hub commit 3/11 - d66379f
Co-authored-by: Chengcheng Jin <[email protected]>

Alchemy-item: (ID = 760) Iceberg staging hub commit 4/11 - f934756
Alchemy-item: (ID = 760) Iceberg staging hub commit 5/11 - ed6d82f
Alchemy-item: (ID = 760) Iceberg staging hub commit 6/11 - 6049f28
…finity.

Alchemy-item: (ID = 760) Iceberg staging hub commit 7/11 - 74636cb
Alchemy-item: (ID = 760) Iceberg staging hub commit 8/11 - d4f2cce
Alchemy-item: (ID = 760) Iceberg staging hub commit 9/11 - 41dd114
Alchemy-item: (ID = 760) Iceberg staging hub commit 10/11 - 9a37118
Alchemy-item: (ID = 760) Iceberg staging hub commit 11/11 - af3e24c
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 = 569) [11771] Fix smj result mismatch issue commit 1/1 - 26a08a6
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
@prestodb-ci
Copy link
Collaborator Author

@prestodb-ci prestodb-ci deleted the staging-139b93216-pr branch October 29, 2025 10:16
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