Skip to content

[pull] master from prestodb:master#570

Merged
pull[bot] merged 2 commits intofishbone:masterfrom
prestodb:master
Feb 17, 2026
Merged

[pull] master from prestodb:master#570
pull[bot] merged 2 commits intofishbone:masterfrom
prestodb:master

Conversation

@pull
Copy link

@pull pull bot commented Feb 17, 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 : )

aaneja and others added 2 commits February 17, 2026 07:13
## Description, Motivation and Context
The size estimate on text plans (EXPLAIN plans e.g) was incorrectly
changed to use the plan root instead of the actual node's outputs in
7f5f219

We fix this bug

## Test Plan
CI + new test to assert on `Estimates` strings in the text plan

## Contributor checklist

- [ ] Please make sure your submission complies with our [contributing
guide](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md),
in particular [code
style](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#code-style)
and [commit
standards](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#commit-standards).
- [ ] PR description addresses the issue accurately and concisely. If
the change is non-trivial, a GitHub Issue is referenced.
- [ ] Documented new properties (with its default value), SQL syntax,
functions, or other functionality.
- [ ] If release notes are required, they follow the [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines).
- [ ] Adequate tests were added if applicable.
- [ ] CI passed.
- [ ] If adding new dependencies, verified they have an [OpenSSF
Scorecard](https://securityscorecards.dev/#the-checks) score of 5.0 or
higher (or obtained explicit TSC approval for lower scores).

## Release Notes

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

## Summary by Sourcery

Correct the size estimate used when rendering text query plans to rely
on each node's own outputs instead of the plan root.

Bug Fixes:
- Fix incorrect output size estimation in TextRenderer by basing it on
the node representation outputs rather than the plan root.

Enhancements:
- Expose a size-estimation helper on PlanNodeStatsEstimate that operates
on NodeRepresentation outputs.

## Summary by Sourcery

Correct size estimation used when rendering textual query plans so
estimates are based on each node representation rather than the plan
root.

Bug Fixes:
- Fix incorrect output size calculation in TextRenderer by using the
node representation outputs instead of the plan root when computing size
estimates.

Enhancements:
- Add a NodeRepresentation-based output size helper to
PlanNodeStatsEstimate for reuse by plan printers and related components.
## Description
Upgrades Apache Arrow dependencies to 18.3.0.

## Motivation and Context
Using a more recent version helps avoid potential vulnerabilities and
ensures we aren't relying on outdated or unsupported code.

## Impact
Inherited connectors must use protobuf-java 4.30.x to avoid potential
gencode issues.

## Test Plan
Tested after upgrade and was able to connect to Flight server and fetch
schemas

<img width="1078" height="584" alt="Screenshot 2026-02-13 at 5 23 05 PM"
src="https://github.com/user-attachments/assets/5b99131e-7644-4f77-b24a-ee53487f1e86"
/>

## Contributor checklist

- [ ] Please make sure your submission complies with our [contributing
guide](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md),
in particular [code
style](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#code-style)
and [commit
standards](https://github.com/prestodb/presto/blob/master/CONTRIBUTING.md#commit-standards).
- [ ] PR description addresses the issue accurately and concisely. If
the change is non-trivial, a GitHub Issue is referenced.
- [ ] Documented new properties (with its default value), SQL syntax,
functions, or other functionality.
- [ ] If release notes are required, they follow the [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines).
- [ ] Adequate tests were added if applicable.
- [ ] CI passed.
- [ ] If adding new dependencies, verified they have an [OpenSSF
Scorecard](https://securityscorecards.dev/#the-checks) score of 5.0 or
higher (or obtained explicit TSC approval for lower scores).

## Release Notes
Please follow [release notes
guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines)
and fill in the release notes below.

```
== RELEASE NOTES ==

General Changes
* Upgrade Apache Arrow to 18.3.0 and protobuf-java to 4.30.2.
```
@pull pull bot locked and limited conversation to collaborators Feb 17, 2026
@pull pull bot added the ⤵️ pull label Feb 17, 2026
@pull pull bot merged commit 7d5b929 into fishbone:master Feb 17, 2026
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