fix: Increase max-task-update-size for the test#27220
Merged
feilong-liu merged 1 commit intoprestodb:masterfrom Mar 2, 2026
Merged
fix: Increase max-task-update-size for the test#27220feilong-liu merged 1 commit intoprestodb:masterfrom
feilong-liu merged 1 commit intoprestodb:masterfrom
Conversation
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates timezone data by bumping the Joda-Time dependency, synchronizes Presto’s internal zone index with the new tzdata, and adjusts the test StandaloneQueryRunner configuration to include a new internal communication limit for task updates. Sequence diagram for task update flow with new internal communication limitsequenceDiagram
participant TestSuite
participant StandaloneQueryRunner
participant Coordinator
participant InternalCommunication
participant Worker
TestSuite->>StandaloneQueryRunner: startCluster()
StandaloneQueryRunner->>Coordinator: createServerWithConfig(taskUpdateLimit)
Coordinator->>InternalCommunication: applyConfig(taskUpdateLimit)
TestSuite->>StandaloneQueryRunner: executeQuery()
StandaloneQueryRunner->>Coordinator: submitQuery()
Coordinator->>Worker: createTasks()
Worker->>Coordinator: sendTaskUpdate()
Coordinator->>InternalCommunication: sendTaskUpdateRequest()
InternalCommunication->>InternalCommunication: checkSizeAgainstTaskUpdateLimit()
alt within limit
InternalCommunication->>Coordinator: acceptTaskUpdate()
Coordinator->>TestSuite: returnResults()
else exceeds limit
InternalCommunication->>Coordinator: rejectTaskUpdate()
Coordinator->>TestSuite: failQuery(taskUpdateTooLarge)
end
Flow diagram for updated timezone data resolution via Joda-Time and zone indexflowchart LR
JodaTimeDependency["Joda-Time dependency (2.14.0)"] --> TZData["Embedded tzdata"]
TZData --> ZoneIndexProperties["zone-index.properties (includes America/Coyhaique)"]
ZoneIndexProperties --> PrestoTimeZoneRegistry["PrestoTimeZoneRegistry"]
PrestoTimeZoneRegistry --> DateTimeFunctions["Date/time functions"]
DateTimeFunctions --> QueryExecution["Query execution with time zones"]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In
StandaloneQueryRunner, consider either referencing a shared constant or adding a brief comment explaining whyexperimental.internal-communication.max-task-update-sizeis set to32MBso future maintainers understand why the default is overridden in tests.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In `StandaloneQueryRunner`, consider either referencing a shared constant or adding a brief comment explaining why `experimental.internal-communication.max-task-update-size` is set to `32MB` so future maintainers understand why the default is overridden in tests.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 26, 2026
Summary: ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Differential Revision: D94558539
be1e504 to
03f3e2e
Compare
yjyolandeyan
approved these changes
Feb 26, 2026
Contributor
|
Can you add more detail on what is the problem being fixed here? |
Contributor
Author
Updated description with more details |
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
03f3e2e to
6f58920
Compare
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
6f58920 to
6838d5f
Compare
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: Pull Request resolved: prestodb#27220 ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
6838d5f to
34f0098
Compare
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
34f0098 to
2970550
Compare
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: Pull Request resolved: prestodb#27220 ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
2970550 to
0d48dab
Compare
vandreykiv
added a commit
to vandreykiv/presto
that referenced
this pull request
Feb 27, 2026
Summary: ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
0d48dab to
a8845fd
Compare
Summary: Pull Request resolved: prestodb#27220 ## Description Update TZ data and fix tests ## Contributor checklist - [x] 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). - [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced. - [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality. - [x] If release notes are required, they follow the [release notes guidelines](https://github.com/prestodb/presto/wiki/Release-Notes-Guidelines). - [x] Adequate tests were added if applicable. - [ ] CI passed. - [x] 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. ``` == NO RELEASE NOTE == ``` Reviewed By: maniloya Differential Revision: D94558539
a8845fd to
0628ed9
Compare
amitkdutta
approved these changes
Feb 27, 2026
feilong-liu
approved these changes
Mar 2, 2026
This was referenced Mar 31, 2026
15 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
com.facebook.presto.verifier.framework.TestDataVerification.testLargeTableSelectStarCompilesfails withjava.lang.AssertionError: expected [SUCCEEDED] but found [FAILED]becausecom.facebook.presto.spi.PrestoException: TaskUpdate size of 16.73MB has exceeded the limit of 16MBDefault limit is 16Mb and with recent dependencies updates task update size started to cross it for test that generates many columns
Contributor checklist
guide,
in particular code
style
and commit
standards.
the change is non-trivial, a GitHub Issue is referenced.
functions, or other functionality.
guidelines.
Scorecard score of 5.0 or
higher (or obtained explicit TSC approval for lower scores).
Release Notes
Please follow release notes
guidelines
and fill in the release notes below.
Differential Revision: D94558539