Skip to content

Bump Calcite to 1.41.0 - #4714

Merged
LantaoJin merged 4 commits into
opensearch-project:mainfrom
LantaoJin:pr/bump_calcite_1_41
Nov 3, 2025
Merged

LantaoJin merged 4 commits into
opensearch-project:mainfrom
LantaoJin:pr/bump_calcite_1_41

Conversation

@LantaoJin

@LantaoJin LantaoJin commented Nov 2, 2025 •

Copy link
Copy Markdown
Member

Description

Bump Calcite to 1.41.0 which is released on Nov 1, 2025

Related Issues

Resolves #4143

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@LantaoJin
LantaoJin merged commit 23dc638 into opensearch-project:main Nov 3, 2025
@LantaoJin
LantaoJin deleted the pr/bump_calcite_1_41 branch November 3, 2025 09:12
@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

The backport to 2.19-dev failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/sql/backport-2.19-dev 2.19-dev
# Navigate to the new working tree
pushd ../.worktrees/sql/backport-2.19-dev
# Create a new branch
git switch --create backport/backport-4714-to-2.19-dev
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 23dc63814ca903ad1f26f26af3cd0804ecb56078
# Push it to GitHub
git push --set-upstream origin backport/backport-4714-to-2.19-dev
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/sql/backport-2.19-dev

Then, create a pull request where the base branch is 2.19-dev and the compare/head branch is backport/backport-4714-to-2.19-dev.

LantaoJin added a commit to LantaoJin/search-plugins-sql that referenced this pull request Nov 3, 2025
* Bump Calcite to 1.41.0

Signed-off-by: Lantao Jin <[email protected]>

* Workaround the Calcite codegen bug

Signed-off-by: Lantao Jin <[email protected]>

* upgrade calcite-testkit

Signed-off-by: Lantao Jin <[email protected]>

---------

Signed-off-by: Lantao Jin <[email protected]>
(cherry picked from commit 23dc638)
@LantaoJin LantaoJin added the backport-manually Filed a PR to backport manually. label Nov 3, 2025
yuancu pushed a commit that referenced this pull request Nov 3, 2025
* Bump Calcite to 1.41.0



* Workaround the Calcite codegen bug



* upgrade calcite-testkit



---------


(cherry picked from commit 23dc638)

Signed-off-by: Lantao Jin <[email protected]>
expani pushed a commit to vinaykpud/sql that referenced this pull request Nov 4, 2025
* Bump Calcite to 1.41.0

Signed-off-by: Lantao Jin <[email protected]>

* Workaround the Calcite codegen bug

Signed-off-by: Lantao Jin <[email protected]>

* upgrade calcite-testkit

Signed-off-by: Lantao Jin <[email protected]>

---------

Signed-off-by: Lantao Jin <[email protected]>
AjimelecGonzalez added a commit to AjimelecGonzalez/sql that referenced this pull request Oct 30, 2026
Guava >=4.0 <33.7.2 is affected by CVE-2026-102554 (GHSA-xxph-c9ww-hj94,
CWE-770): CompactHashMap/CompactHashSet/MapMakerInternalMap deserialization
eagerly allocates memory sized by an attacker-controlled count. Fixed in 33.7.2.

Build follow-ups required on 2.19 (already present on main):
- core: add compileOnlyApi jsr305, no longer a transitive dep of Guava 33.4+
  (needed by prometheus for javax.annotation.Nonnull), as in opensearch-project#4714.
- plugin, integ-test: force org.jspecify:jspecify:1.0.1 to resolve the
  version conflict introduced by Guava 33.7.2, as in opensearch-project#5776.

Manual backport of opensearch-project#5918.

Signed-off-by: Ajimelec Gonzalez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.19-dev backport-failed backport-manually Filed a PR to backport manually. dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RFC] Bump calcite versions

3 participants