Skip to content

[pull] master from prestodb:master#549

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

[pull] master from prestodb:master#549
pull[bot] merged 4 commits intofishbone:masterfrom
prestodb:master

Conversation

@pull
Copy link

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

ceekay47 and others added 4 commits February 3, 2026 17:28
#27059)

Summary:
MV query optimizer fails to rewrite queries when the specified table
name differs between the MV definition and the incoming query (ex:
`base_table` vs `schema.base_table`).

This fix resolves table references to schema-qualified names, ensuring
consistent table matching regardless of how the table was specified.

Reviewed By: zation99

Differential Revision: D91699496

## Summary by Sourcery

Ensure materialized view query optimization consistently matches base
tables regardless of schema qualification in table names.

Bug Fixes:
- Fix materialized view rewrites failing when base tables are referenced
with different schema qualifications between the MV definition and the
incoming query.

Tests:
- Add coverage to verify materialized view query optimization works when
base tables are referenced both with and without schema-qualified names
in various query shapes.

## Release Notes
```
== RELEASE NOTES ==

General Changes
* Fix MV query optimizer by correctly resolving table references to schema-qualified names.
```
Summary:
Ported the IpPrefix and IpAddress tests in
https://github.com/prestodb/presto/blob/master/presto-main-base/src/test/java/com/facebook/presto/operator/scalar/TestIpPrefixFunctions.java
to run with Presto Native engine in presto-native-tests.

This is a continuation of the work to refactor scalar function tests
from `presto-main-base` to `presto-main-tests` from this PR:
#26013

Also moved IpPrefixType and IpAddressType into `presto-common` from
`presto-main-base` due to some dependency cycles that appeared after
refactoring.

== NO RELEASE NOTE ==
## Description
Fix for #26685
Fix for #26808

## Motivation and Context
<!---Why is this change required? What problem does it solve?-->
<!---If it fixes an open issue, please link to the issue here.-->

## Impact
<!---Describe any public API or user-facing feature change or any
performance impact-->

## Test Plan
<!---Please fill in how you tested your change-->

## 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
* ... 
* ... 

Hive Connector Changes
* ... 
* ... 
```

If release note is NOT required, use:

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

## Summary by Sourcery

Add configurable shard count for the async data cache and wire it
through server initialization.

New Features:
- Introduce a new system config option to control the number of async
cache shards with a default value.
- Expose the async cache shard count to the async data cache options
during server initialization.

Tests:
- Add unit tests covering default and custom values for the async cache
shard count system config.
@pull pull bot locked and limited conversation to collaborators Feb 4, 2026
@pull pull bot added the ⤵️ pull label Feb 4, 2026
@pull pull bot merged commit e100648 into fishbone:master Feb 4, 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.

4 participants