Skip to content

[pull] master from prestodb:master#550

Merged
pull[bot] merged 3 commits intofishbone:masterfrom
prestodb:master
Feb 5, 2026
Merged

[pull] master from prestodb:master#550
pull[bot] merged 3 commits intofishbone:masterfrom
prestodb:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 5, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

czentgr and others added 3 commits February 4, 2026 19:37
## Description
Fixes Velox to Presto `IN` expression conversion. When the `IN-list` is
constant, the Velox expression representation uses a constant expression
with an array vector to store the list (see conversion
[here](https://github.com/prestodb/presto/blob/4e91f155d0f4704325552fac3807da0efdba6a35/presto-native-execution/presto_cpp/main/types/PrestoToVeloxExpr.cpp#L780)).
The Presto `IN` expression expects the values from constant `IN-list` to
be distinct arguments to the `SpecialFormExpression`. The
`VeloxToPrestoExpr` is modified accordingly.

## Motivation and Context
Resolves #26921.

## Impact
Fixes bug with `IN` expression in native expression optimizer.

## Test Plan
Added e2e test.


```
== NO RELEASE NOTE ==
```

## Summary by Sourcery

Fix Velox-to-Presto conversion of IN expressions to correctly construct
Presto special form arguments and add coverage for the native expression
optimizer.

Bug Fixes:
- Correct Velox IN expression conversion when the IN-list is represented
as a constant array so Presto receives individual arguments instead of a
single array-typed constant.

Tests:
- Add an end-to-end test ensuring IN expressions are handled correctly
by the native expression optimizer in the sidecar plugin test suite.
…26978)

## Description
Velox now supports `KHyperLogLog` type (ref:
facebookincubator/velox@1165703).
Adds support for this type to the `NativeTypeManager`. Also adds
`KHyperLogLog` to `StandardTypes` in `presto-common` to avoid a
dependency on `presto-main-base` in `presto-native-sidecar-plugin`.

## Motivation and Context
Fix test failure uncovered in `presto-native-tests`. Required for
#23671.

## Impact
Queries with `KHyperLogLog` won't fail on sidecar enabled Presto C++
deployments.

## Test Plan
Added e2e test.


```
== NO RELEASE NOTE ==
```
@pull pull bot locked and limited conversation to collaborators Feb 5, 2026
@pull pull bot added the ⤵️ pull label Feb 5, 2026
@pull pull bot merged commit 6fb40f0 into fishbone:master Feb 5, 2026
20 of 22 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants