Skip to content

#3664 fix: SQLScript with LET/RETURN no longer throws QueryNotIdempotentException#3666

Merged
robfrank merged 2 commits into
mainfrom
fix/3664-sqlscript-querynotidempotentexception
Mar 16, 2026
Merged

#3664 fix: SQLScript with LET/RETURN no longer throws QueryNotIdempotentException#3666
robfrank merged 2 commits into
mainfrom
fix/3664-sqlscript-querynotidempotentexception

Conversation

@robfrank

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes SQLScript QueryNotIdempotentException #3664 — read-only SQLScript (LET+SELECT, RETURN) was rejected by the /query endpoint with QueryNotIdempotentException
  • LetStatement.isIdempotent() now delegates to its sub-statement (so LET $x = (SELECT ...) is idempotent, LET $x = (INSERT ...) is not); expression-only LETs return true
  • ReturnStatement.isIdempotent() now returns true unconditionally since RETURN only outputs data

Test plan

  • queryScriptWithLetAndReturnIsIdempotent — read-only script succeeds via database.query("sqlscript", ...)
  • queryScriptWithWriteStatementIsNotIdempotent — script with INSERT is still rejected
  • All 26 SQLScriptTest tests pass
  • All related tests pass (OperationTypeTest, ScriptExecutionTest, etc. — 112 total, 0 failures)

🤖 Generated with Claude Code

…eption (#3664)

LetStatement and ReturnStatement did not override isIdempotent(), defaulting
to false. Read-only scripts (LET+SELECT, RETURN) were rejected by the /query
endpoint. Now LetStatement delegates to its sub-statement and ReturnStatement
returns true.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses an issue where read-only SQLScripts, specifically those using LET with SELECT sub-queries and RETURN statements, were incorrectly flagged as non-idempotent by the /query API endpoint. The changes ensure that the system accurately identifies the idempotent nature of these statements, allowing legitimate read-only operations to proceed without error, while still correctly rejecting scripts that perform write operations.

Highlights

  • Idempotency fix for SQLScript: Resolved QueryNotIdempotentException for read-only SQLScripts containing LET and RETURN statements when executed via the /query endpoint.
  • LetStatement idempotency logic: Modified LetStatement.isIdempotent() to correctly assess idempotency by delegating to its sub-statement or returning true for expression-only LET clauses.
  • ReturnStatement idempotency logic: Updated ReturnStatement.isIdempotent() to always return true, as RETURN statements are inherently read-only.
  • Regression tests: Added two new regression tests to SQLScriptTest.java to verify the fix and ensure write statements are still correctly rejected.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • 3664-sqlscript-querynotidempotentexception.md
    • Added a new markdown document detailing the problem, root cause, and solution for the QueryNotIdempotentException.
    • Included a summary of the files changed and tests added.
  • engine/src/main/java/com/arcadedb/query/sql/parser/LetStatement.java
    • Overrode the isIdempotent() method to implement conditional idempotency logic.
  • engine/src/main/java/com/arcadedb/query/sql/parser/ReturnStatement.java
    • Overrode the isIdempotent() method to unconditionally return true.
  • engine/src/test/java/com/arcadedb/query/sql/SQLScriptTest.java
    • Added queryScriptWithLetAndReturnIsIdempotent test case.
    • Added queryScriptWithWriteStatementIsNotIdempotent test case.
    • Imported QueryNotIdempotentException.
Activity
  • The pull request was generated with Claude Code.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@robfrank robfrank added this to the 26.4.1 milestone Mar 16, 2026
@mergify

mergify Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

🧪 CI Insights

Here's what we observed from your CI run for bd9fae5.

🟢 All jobs passed!

But CI Insights is watching 👀

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request effectively addresses an issue where read-only SQL scripts with LET and RETURN were incorrectly flagged as non-idempotent. The changes are concise and correct, with isIdempotent() now properly implemented for LetStatement and ReturnStatement. The addition of comprehensive regression tests is excellent, verifying both the fix and ensuring that write operations remain non-idempotent. The detailed markdown file explaining the change is also a great addition.

Comment on lines +121 to +122
if (statement != null)
return statement.isIdempotent();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For improved code clarity and to prevent potential maintenance issues, it's a good practice to use braces for all if statements, even when the body contains only a single line. This makes the code more robust against future modifications.

Suggested change
if (statement != null)
return statement.isIdempotent();
if (statement != null) {
return statement.isIdempotent();
}

@claude

claude Bot commented Mar 16, 2026

Copy link
Copy Markdown

Code Review

The fix correctly addresses the root cause: both LetStatement and ReturnStatement inherited Statement.isIdempotent() which unconditionally returns false, causing any script with these statements to be rejected by the /query endpoint regardless of actual content.

✅ What looks good

  • LetStatement.isIdempotent() — delegating to statement.isIdempotent() when a sub-statement is present is the right approach, consistent with IfStatement.isIdempotent() which does the same for its child statements.
  • ReturnStatement.isIdempotent() — returning true unconditionally is correct; RETURN only reads/outputs already-computed values.
  • Logic is minimal and focused — no over-engineering.
  • Two regression tests that cover both the happy path and the rejected case.

Issues to address

1. Stray documentation file in repo root

3664-sqlscript-querynotidempotentexception.md is committed to the repository root. This appears to be a Claude Code work-plan document (similar to the ones in docs/plans/). It shouldn't live in the repo root. Please either:

  • Move it to docs/plans/ to be consistent with other design/fix notes, or
  • Remove it entirely (the PR description already captures the explanation).

2. Test uses fully-qualified Assertions.assertThrows instead of AssertJ

queryScriptWithWriteStatementIsNotIdempotent uses org.junit.jupiter.api.Assertions.assertThrows(...) with a fully-qualified class name. The codebase standard (and the pattern used elsewhere in the SQL test package) is AssertJ's assertThatThrownBy. For example, in SelectStatementExecutionTest.java:

assertThatThrownBy(() -> database.query("sqlscript", script))
    .isInstanceOf(QueryNotIdempotentException.class);

This is both more readable and consistent with the rest of the codebase. The full-qualified form also bypasses the import section and is harder to scan.

3. Minor: expression idempotency caveat (FYI, not a blocker)

The comment // expressions (literals, variable references, method calls) do not write data is accurate for built-in expressions. However, user-defined SQL functions (FunctionCall) could theoretically execute DML. This is the same assumption IfStatement makes (it checks sub-statements but not condition expressions), so it's consistent with the existing design — just worth a note in case UDF side-effects are ever revisited.

Summary

The core logic is correct and the approach is sound. The two things that should be fixed before merging are: remove/relocate the stray .md file, and update the test to use assertThatThrownBy for style consistency.

Remove stray documentation file from repo root and switch test assertion
from JUnit assertThrows to AssertJ assertThatThrownBy for codebase
consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@claude

claude Bot commented Mar 16, 2026

Copy link
Copy Markdown

Code Review

This is a clean, focused fix for issue #3664. The approach is correct and well-scoped.

What's Good

  • LetStatement.isIdempotent() correctly delegates to its sub-statement when one exists, and returns true for expression-only LETs. This matches the same pattern used in IfStatement (which iterates over all its child statements). The logic is sound.
  • ReturnStatement.isIdempotent() returning true unconditionally is correct — RETURN only reads/outputs context variables, it never writes data.
  • Tests cover both the happy path and the guard: the write-rejection test ensures the fix doesn't accidentally open the door to non-idempotent scripts via the query endpoint.
  • Tests follow the project style (assertThat(...), assertThatThrownBy(...), database.transaction(...) for setup).

Minor Observations

  1. Expression-based LET and polyglot/UDF functionsLET $x = someFunction(...) where someFunction is a user-defined function or a polyglot script could in theory perform writes. The current implementation always returns true for expression-only LETs, which is consistent with how the rest of the engine treats expressions (there is no isIdempotent() on Expression). This is a pre-existing limitation of the idempotency model, not introduced by this PR, and is acceptable given the overall design.

  2. Test setup uses database.transaction() inside a TestHelper-based test, which is the correct pattern. One very minor nit: the queryScriptWithLetAndReturnIsIdempotent test creates a Chunk type and inserts a row without cleanup — if the test class reuses a database across tests this could cause interference. Looking at the class, other tests in SQLScriptTest follow the same pattern without cleanup, so this is consistent with the existing convention.

  3. Javadoc comment on the test references the GitHub issue URL inline — this is fine and helps traceability, consistent with the project style.

Verdict

The fix is minimal, correct, and well-tested. No issues found that would block merging. ✅

@robfrank

Copy link
Copy Markdown
Collaborator Author

Code review feedback addressed (bd9fae5)

Applied:

  • Removed 3664-sqlscript-querynotidempotentexception.md from repo root — the PR description already captures the explanation.
  • Switched queryScriptWithWriteStatementIsNotIdempotent from org.junit.jupiter.api.Assertions.assertThrows to AssertJ's assertThatThrownBy for codebase consistency.

Rejected:

  • Gemini's suggestion to add braces around the single-line if in LetStatement.isIdempotent() — the project's CLAUDE.md coding style explicitly states: "if statements with only one child sub-statement don't require a curly brace open/close, keep it simple". The current form is consistent with the rest of the codebase.

@codacy-production

codacy-production Bot commented Mar 16, 2026

Copy link
Copy Markdown

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-9.49%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (cb5e508) 109689 81954 74.71%
Head commit (bd9fae5) 140633 (+30944) 91721 (+9767) 65.22% (-9.49%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3666) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@codecov

codecov Bot commented Mar 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.76%. Comparing base (cb5e508) to head (bd9fae5).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3666      +/-   ##
==========================================
- Coverage   65.86%   65.76%   -0.10%     
==========================================
  Files        1550     1550              
  Lines      109689   109689              
  Branches    22875    22875              
==========================================
- Hits        72245    72141     -104     
- Misses      27762    27822      +60     
- Partials     9682     9726      +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@robfrank robfrank changed the title fix: SQLScript with LET/RETURN no longer throws QueryNotIdempotentException #3664 fix: SQLScript with LET/RETURN no longer throws QueryNotIdempotentException Mar 16, 2026
@robfrank robfrank merged commit c05883c into main Mar 16, 2026
24 of 28 checks passed
robfrank added a commit that referenced this pull request May 12, 2026
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
…[skip ci]

Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.18.0 to 5.19.0.
Release notes

*Sourced from [org.mockito:mockito-core's releases](https://github.com/mockito/mockito/releases).*

> v5.19.0
> -------
>
> *Changelog generated by [Shipkit Changelog Gradle Plugin](https://github.com/shipkit/shipkit-changelog)*
>
> #### 5.19.0
>
> * 2025-08-15 - [37 commit(s)](mockito/mockito@v5.18.0...v5.19.0) by Adrian-Kim, Tim van der Lippe, Tran Ngoc Nhan, dependabot[bot], juyeop
> * feat: Add support for JDK21 Sequenced Collections. [([ArcadeData#3708](https://redirect.github.com/mockito/mockito/issues/3708))]([mockito/mockito#3708](https://redirect.github.com/mockito/mockito/pull/3708))
> * Bump actions/checkout from 4 to 5 [([ArcadeData#3707](https://redirect.github.com/mockito/mockito/issues/3707))]([mockito/mockito#3707](https://redirect.github.com/mockito/mockito/pull/3707))
> * build: Allow overriding 'Created-By' for reproducible builds [([ArcadeData#3704](https://redirect.github.com/mockito/mockito/issues/3704))]([mockito/mockito#3704](https://redirect.github.com/mockito/mockito/pull/3704))
> * Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 [([ArcadeData#3703](https://redirect.github.com/mockito/mockito/issues/3703))]([mockito/mockito#3703](https://redirect.github.com/mockito/mockito/pull/3703))
> * Bump androidx.test:runner from 1.6.2 to 1.7.0 [([ArcadeData#3697](https://redirect.github.com/mockito/mockito/issues/3697))]([mockito/mockito#3697](https://redirect.github.com/mockito/mockito/pull/3697))
> * Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4 [([ArcadeData#3694](https://redirect.github.com/mockito/mockito/issues/3694))]([mockito/mockito#3694](https://redirect.github.com/mockito/mockito/pull/3694))
> * Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1 [([ArcadeData#3693](https://redirect.github.com/mockito/mockito/issues/3693))]([mockito/mockito#3693](https://redirect.github.com/mockito/mockito/pull/3693))
> * Bump junit-jupiter from 5.13.3 to 5.13.4 [([ArcadeData#3691](https://redirect.github.com/mockito/mockito/issues/3691))]([mockito/mockito#3691](https://redirect.github.com/mockito/mockito/pull/3691))
> * Bump com.gradle.develocity from 4.0.2 to 4.1 [([ArcadeData#3689](https://redirect.github.com/mockito/mockito/issues/3689))]([mockito/mockito#3689](https://redirect.github.com/mockito/mockito/pull/3689))
> * Bump com.google.googlejavaformat:google-java-format from 1.27.0 to 1.28.0 [([ArcadeData#3688](https://redirect.github.com/mockito/mockito/issues/3688))]([mockito/mockito#3688](https://redirect.github.com/mockito/mockito/pull/3688))
> * Bump com.google.googlejavaformat:google-java-format from 1.25.2 to 1.27.0 [([ArcadeData#3686](https://redirect.github.com/mockito/mockito/issues/3686))]([mockito/mockito#3686](https://redirect.github.com/mockito/mockito/pull/3686))
> * Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.4 to 7.1.0 [([ArcadeData#3685](https://redirect.github.com/mockito/mockito/issues/3685))]([mockito/mockito#3685](https://redirect.github.com/mockito/mockito/pull/3685))
> * Bump junit-jupiter from 5.13.2 to 5.13.3 [([ArcadeData#3684](https://redirect.github.com/mockito/mockito/issues/3684))]([mockito/mockito#3684](https://redirect.github.com/mockito/mockito/pull/3684))
> * Bump org.shipkit:shipkit-auto-version from 2.1.0 to 2.1.2 [([ArcadeData#3683](https://redirect.github.com/mockito/mockito/issues/3683))]([mockito/mockito#3683](https://redirect.github.com/mockito/mockito/pull/3683))
> * Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.2 to 7.0.4 [([ArcadeData#3682](https://redirect.github.com/mockito/mockito/issues/3682))]([mockito/mockito#3682](https://redirect.github.com/mockito/mockito/pull/3682))
> * Only run release after both Java and Android tests have finished
>   [([ArcadeData#3681](https://redirect.github.com/mockito/mockito/issues/3681))]([mockito/mockito#3681](https://redirect.github.com/mockito/mockito/pull/3681))
> * Bump org.junit.platform:junit-platform-launcher from 1.12.2 to 1.13.3 [([ArcadeData#3680](https://redirect.github.com/mockito/mockito/issues/3680))]([mockito/mockito#3680](https://redirect.github.com/mockito/mockito/pull/3680))
> * Bump org.codehaus.groovy:groovy from 3.0.24 to 3.0.25 [([ArcadeData#3679](https://redirect.github.com/mockito/mockito/issues/3679))]([mockito/mockito#3679](https://redirect.github.com/mockito/mockito/pull/3679))
> * Bump org.eclipse.platform:org.eclipse.osgi from 3.23.0 to 3.23.100 [([ArcadeData#3678](https://redirect.github.com/mockito/mockito/issues/3678))]([mockito/mockito#3678](https://redirect.github.com/mockito/mockito/pull/3678))
> * Can no longer publish snapshot releases [([ArcadeData#3677](https://redirect.github.com/mockito/mockito/issues/3677))]([mockito/mockito#3677](https://redirect.github.com/mockito/mockito/issues/3677))
> * Update Gradle to 8.14.2 [([ArcadeData#3676](https://redirect.github.com/mockito/mockito/issues/3676))]([mockito/mockito#3676](https://redirect.github.com/mockito/mockito/pull/3676))
> * Bump errorprone from 2.23.0 to 2.39.0 [([ArcadeData#3674](https://redirect.github.com/mockito/mockito/issues/3674))]([mockito/mockito#3674](https://redirect.github.com/mockito/mockito/pull/3674))
> * Correct Junit docs link [([ArcadeData#3672](https://redirect.github.com/mockito/mockito/issues/3672))]([mockito/mockito#3672](https://redirect.github.com/mockito/mockito/pull/3672))
> * Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.3.0 [([ArcadeData#3670](https://redirect.github.com/mockito/mockito/issues/3670))]([mockito/mockito#3670](https://redirect.github.com/mockito/mockito/pull/3670))
> * Bump junit-jupiter from 5.13.1 to 5.13.2 [([ArcadeData#3669](https://redirect.github.com/mockito/mockito/issues/3669))]([mockito/mockito#3669](https://redirect.github.com/mockito/mockito/pull/3669))
> * Bump bytebuddy from 1.17.5 to 1.17.6 [([ArcadeData#3668](https://redirect.github.com/mockito/mockito/issues/3668))]([mockito/mockito#3668](https://redirect.github.com/mockito/mockito/pull/3668))
> * Bump junit-jupiter from 5.12.2 to 5.13.1 [([ArcadeData#3666](https://redirect.github.com/mockito/mockito/issues/3666))]([mockito/mockito#3666](https://redirect.github.com/mockito/mockito/pull/3666))
> * Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.21 to 2.2.0 [([ArcadeData#3665](https://redirect.github.com/mockito/mockito/issues/3665))]([mockito/mockito#3665](https://redirect.github.com/mockito/mockito/pull/3665))
> * Bump org.gradle.toolchains.foojay-resolver-convention from 0.9.0 to 1.0.0 [([ArcadeData#3661](https://redirect.github.com/mockito/mockito/issues/3661))]([mockito/mockito#3661](https://redirect.github.com/mockito/mockito/pull/3661))
> * Bump org.junit.platform:junit-platform-launcher from 1.11.4 to 1.12.2 [([ArcadeData#3660](https://redirect.github.com/mockito/mockito/issues/3660))]([mockito/mockito#3660](https://redirect.github.com/mockito/mockito/pull/3660))
> * Add JDK21 sequenced collections for ReturnsEmptyValues [([ArcadeData#3659](https://redirect.github.com/mockito/mockito/issues/3659))]([mockito/mockito#3659](https://redirect.github.com/mockito/mockito/issues/3659))
> * Bump com.gradle.develocity from 3.19.1 to 4.0.2 [([ArcadeData#3658](https://redirect.github.com/mockito/mockito/issues/3658))]([mockito/mockito#3658](https://redirect.github.com/mockito/mockito/pull/3658))
> * Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.1 [([ArcadeData#3657](https://redirect.github.com/mockito/mockito/issues/3657))]([mockito/mockito#3657](https://redirect.github.com/mockito/mockito/pull/3657))
> * Bump org.eclipse.platform:org.eclipse.osgi from 3.22.0 to 3.23.0 [([ArcadeData#3656](https://redirect.github.com/mockito/mockito/issues/3656))]([mockito/mockito#3656](https://redirect.github.com/mockito/mockito/pull/3656))
> * Bump org.codehaus.groovy:groovy from 3.0.23 to 3.0.24 [([ArcadeData#3655](https://redirect.github.com/mockito/mockito/issues/3655))]([mockito/mockito#3655](https://redirect.github.com/mockito/mockito/pull/3655))
> * Bump junit-jupiter from 5.11.4 to 5.12.2 [([ArcadeData#3653](https://redirect.github.com/mockito/mockito/issues/3653))]([mockito/mockito#3653](https://redirect.github.com/mockito/mockito/pull/3653))
> * Reproducible Build: need to inject JDK distribution details to rebuild [([ArcadeData#3563](https://redirect.github.com/mockito/mockito/issues/3563))]([mockito/mockito#3563](https://redirect.github.com/mockito/mockito/issues/3563))


Commits

* [`144751b`](mockito/mockito@144751b) Add support for JDK21 Sequenced Collections. ([ArcadeData#3708](https://redirect.github.com/mockito/mockito/issues/3708))
* [`b275c7d`](mockito/mockito@b275c7d) Bump actions/checkout from 4 to 5 ([ArcadeData#3707](https://redirect.github.com/mockito/mockito/issues/3707))
* [`ad6ae2f`](mockito/mockito@ad6ae2f) Allow overriding 'Created-By' for reproducible builds ([ArcadeData#3704](https://redirect.github.com/mockito/mockito/issues/3704))
* [`096ee9f`](mockito/mockito@096ee9f) Bump org.assertj:assertj-core from 3.27.3 to 3.27.4 ([ArcadeData#3703](https://redirect.github.com/mockito/mockito/issues/3703))
* [`aa7be27`](mockito/mockito@aa7be27) Bump androidx.test:runner from 1.6.2 to 1.7.0 ([ArcadeData#3697](https://redirect.github.com/mockito/mockito/issues/3697))
* [`c8a698b`](mockito/mockito@c8a698b) Remove unused tests
* [`ea45979`](mockito/mockito@ea45979) Bump errorprone from 2.39.0 to 2.41.0
* [`9c8eb23`](mockito/mockito@9c8eb23) Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4 ([ArcadeData#3694](https://redirect.github.com/mockito/mockito/issues/3694))
* [`f05e44d`](mockito/mockito@f05e44d) Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1 ([ArcadeData#3693](https://redirect.github.com/mockito/mockito/issues/3693))
* [`9d32dfe`](mockito/mockito@9d32dfe) Bump junit-jupiter from 5.13.3 to 5.13.4 ([ArcadeData#3691](https://redirect.github.com/mockito/mockito/issues/3691))
* Additional commits viewable in [compare view](mockito/mockito@v5.18.0...v5.19.0)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.mockito:mockito-core&package-manager=maven&previous-version=5.18.0&new-version=5.19.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
…ip ci]

Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.7.7 to 42.7.8.
Release notes

*Sourced from [org.postgresql:postgresql's releases](https://github.com/pgjdbc/pgjdbc/releases).*

> v42.7.8
> -------
>
> Notable changes:
> ----------------
>
> * Releases are signed with a new PGP key which is generated at GitHub Actions and stored only there [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3701](https://redirect.github.com/pgjdbc/pgjdbc/issues/3701))
>
> Changes
> -------
>
> * fix: Update release plugin config to use .set(...) for props and inject nexus secrets via props [`@​sehrope`](https://github.com/sehrope) ([ArcadeData#3802](https://redirect.github.com/pgjdbc/pgjdbc/issues/3802))
> * update version to 42.7.8 [`@​davecramer`](https://github.com/davecramer) ([ArcadeData#3801](https://redirect.github.com/pgjdbc/pgjdbc/issues/3801))
> * change logs for version 42.7.8 [`@​davecramer`](https://github.com/davecramer) ([ArcadeData#3797](https://redirect.github.com/pgjdbc/pgjdbc/issues/3797))
> * Fix getNotifications() documentation [`@​pdewacht`](https://github.com/pdewacht) ([ArcadeData#3800](https://redirect.github.com/pgjdbc/pgjdbc/issues/3800))
> * fix(deps): update dependency om.ongres.scram:scram-client to 3.2 [`@​jorsol`](https://github.com/jorsol) ([ArcadeData#3799](https://redirect.github.com/pgjdbc/pgjdbc/issues/3799))
> * Add configurable boolean-to-numeric conversion for ResultSet getters [`@​vwassan`](https://github.com/vwassan) ([ArcadeData#3796](https://redirect.github.com/pgjdbc/pgjdbc/issues/3796))
> * Update CONTRIBUTING.md [`@​davecramer`](https://github.com/davecramer) ([ArcadeData#3794](https://redirect.github.com/pgjdbc/pgjdbc/issues/3794))
> * perf: remove QUERY\_ONESHOT flag when calling getMetaData [`@​ShenFeng312`](https://github.com/ShenFeng312) ([ArcadeData#3783](https://redirect.github.com/pgjdbc/pgjdbc/issues/3783))
> * test: add bench for batch insert via unnest with arrays [`@​lantalex`](https://github.com/lantalex) ([ArcadeData#3782](https://redirect.github.com/pgjdbc/pgjdbc/issues/3782))
> * fix: Change "PST" timezone in TimestampTest to "Pacific Standard Time" [`@​simon-greatrix`](https://github.com/simon-greatrix) ([ArcadeData#3774](https://redirect.github.com/pgjdbc/pgjdbc/issues/3774))
> * Use `BufferedInputStream` with `FileInputStream` [`@​jgardn3r`](https://github.com/jgardn3r) ([ArcadeData#3750](https://redirect.github.com/pgjdbc/pgjdbc/issues/3750))
> * Fix [ArcadeData#3747](https://redirect.github.com/pgjdbc/pgjdbc/issues/3747): Incorrect class comparison in PGXmlFactoryFactory validation [`@​eitch`](https://github.com/eitch) ([ArcadeData#3748](https://redirect.github.com/pgjdbc/pgjdbc/issues/3748))
> * fix: traverse the current dimension to get the correct pos in PgArray#calcRemainingDataLength [`@​sly461`](https://github.com/sly461) ([ArcadeData#3746](https://redirect.github.com/pgjdbc/pgjdbc/issues/3746))
> * test: add channelBinding to SslTest [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3665](https://redirect.github.com/pgjdbc/pgjdbc/issues/3665))
> * fix: remove excessive ReentrantLock.lock usages [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3703](https://redirect.github.com/pgjdbc/pgjdbc/issues/3703))
> * test: add ossf-scorecard security scanning [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3695](https://redirect.github.com/pgjdbc/pgjdbc/issues/3695))
> * fix indentation to let CI pass [`@​mohitsatr`](https://github.com/mohitsatr) ([ArcadeData#3682](https://redirect.github.com/pgjdbc/pgjdbc/issues/3682))
> * test: extract pgjdbc/testFixtures to testkit project [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3666](https://redirect.github.com/pgjdbc/pgjdbc/issues/3666))
> * fix: make sure getImportedExportedKeys returns columns in consistent order [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3663](https://redirect.github.com/pgjdbc/pgjdbc/issues/3663))
> * feat: use PreparedStatement for DatabaseMetaData.getCrossReference, getImportedKeys, getExportedKeys [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3641](https://redirect.github.com/pgjdbc/pgjdbc/issues/3641))
> * Add "SELF\_REFERENCING\_COL\_NAME" field to getTables' ResultSetMetaData to fix NullPointerException [`@​SophiahHo`](https://github.com/SophiahHo) ([ArcadeData#3660](https://redirect.github.com/pgjdbc/pgjdbc/issues/3660))
>
> 🐛 Bug Fixes
> -----------
>
> * fix: avoid IllegalStateException: Timer already cancelled when StatementCancelTimerTask.run throws a runtime error [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3778](https://redirect.github.com/pgjdbc/pgjdbc/issues/3778))
> * fix: avoid NullPointerException when cancelling a query if cancel key is not known yet [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3780](https://redirect.github.com/pgjdbc/pgjdbc/issues/3780))
> * fix: unable to open replication connection to servers < 12 [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3678](https://redirect.github.com/pgjdbc/pgjdbc/issues/3678))
>
> 🧰 Maintenance
> -------------
>
> * chore: fix published project name [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3809](https://redirect.github.com/pgjdbc/pgjdbc/issues/3809))
> * chore: update publish to Central Portal task name after bumping nmcp [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3808](https://redirect.github.com/pgjdbc/pgjdbc/issues/3808))
> * fix(deps): update com.gradleup.nmcp to 1.1.0 [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3807](https://redirect.github.com/pgjdbc/pgjdbc/issues/3807))
> * Revert "fix: Update release plugin config to use .set(...) for props and inject nexus creds via gradle props" [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3803](https://redirect.github.com/pgjdbc/pgjdbc/issues/3803))
> * chore: group com.gradleup.nmcp version updates [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3805](https://redirect.github.com/pgjdbc/pgjdbc/issues/3805))
> * chore: use bump org.apache.bcel:bcel test dependency in testCompileClasspath as well [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3775](https://redirect.github.com/pgjdbc/pgjdbc/issues/3775))
> * Fix typo in PGReplicationStream.java [`@​atorik`](https://github.com/atorik) ([ArcadeData#3758](https://redirect.github.com/pgjdbc/pgjdbc/issues/3758))
> * chore: remove JDK versions from the key workflow names [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3759](https://redirect.github.com/pgjdbc/pgjdbc/issues/3759))
> * chore: add GitHub Actions workflow for generating release PGP key [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3701](https://redirect.github.com/pgjdbc/pgjdbc/issues/3701))
> * chore: replace StandardCharsets with Charsets to simplify code [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3751](https://redirect.github.com/pgjdbc/pgjdbc/issues/3751))
> * chore: migrate publish workflow to Central Portal publishing via com.gradleup.nmcp [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3686](https://redirect.github.com/pgjdbc/pgjdbc/issues/3686))
> * chore: adjust the default branch name for ossf scorecard scan [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3697](https://redirect.github.com/pgjdbc/pgjdbc/issues/3697))
> * chore: add top-level read-only permissions for GitHub Actions when missing [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3696](https://redirect.github.com/pgjdbc/pgjdbc/issues/3696))
> * chore: use config:best-practices preset for Renovate [`@​vlsi`](https://github.com/vlsi) ([ArcadeData#3687](https://redirect.github.com/pgjdbc/pgjdbc/issues/3687))

... (truncated)


Changelog

*Sourced from [org.postgresql:postgresql's changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md).*

> [42.7.8] (2025-09-18)
> ---------------------
>
> ### Added
>
> * feat: Add configurable boolean-to-numeric conversion for ResultSet getters [PR [ArcadeData#3796](https://redirect.github.com/pgjdbc/pgjdbc/issues/3796)]([pgjdbc/pgjdbc#3796](https://redirect.github.com/pgjdbc/pgjdbc/pull/3796))
>
> ### Changed
>
> * perf: remove QUERY\_ONESHOT flag when calling getMetaData [PR [ArcadeData#3783](https://redirect.github.com/pgjdbc/pgjdbc/issues/3783)]([pgjdbc/pgjdbc#3783](https://redirect.github.com/pgjdbc/pgjdbc/pull/3783))
> * perf: use `BufferedInputStream` with `FileInputStream` [PR [ArcadeData#3750](https://redirect.github.com/pgjdbc/pgjdbc/issues/3750)]([pgjdbc/pgjdbc#3750](https://redirect.github.com/pgjdbc/pgjdbc/pull/3750))
> * perf: enable server-prepared statements for DatabaseMetaData
>
> ### Fixed
>
> * fix: avoid NullPointerException when cancelling a query if cancel key is not known yet
> * fix: Change "PST" timezone in TimestampTest to "Pacific Standard Time" [PR [ArcadeData#3774](https://redirect.github.com/pgjdbc/pgjdbc/issues/3774)]([pgjdbc/pgjdbc#3774](https://redirect.github.com/pgjdbc/pgjdbc/pull/3774))
> * fix: traverse the current dimension to get the correct pos in PgArray#calcRemainingDataLength [PR [ArcadeData#3746](https://redirect.github.com/pgjdbc/pgjdbc/issues/3746)]([pgjdbc/pgjdbc#3746](https://redirect.github.com/pgjdbc/pgjdbc/pull/3746))
> * fix: make sure getImportedExportedKeys returns columns in consistent order
> * fix: Add "SELF\_REFERENCING\_COL\_NAME" field to getTables' ResultSetMetaData to fix NullPointerException [PR [ArcadeData#3660](https://redirect.github.com/pgjdbc/pgjdbc/issues/3660)]([pgjdbc/pgjdbc#3660](https://redirect.github.com/pgjdbc/pgjdbc/pull/3660))
> * fix: unable to open replication connection to servers < 12
> * fix: avoid closing statement caused by driver's internal ResultSet#close()
> * fix: return empty metadata for empty catalog names as it was before
> * fix: Incorrect class comparison in PGXmlFactoryFactory validation


Commits

* [`9a5492d`](pgjdbc/pgjdbc@9a5492d) chore: fix published project name
* [`ca064f8`](pgjdbc/pgjdbc@ca064f8) chore: update publish to Central Portal task name after bumping nmcp
* [`3d97bb8`](pgjdbc/pgjdbc@3d97bb8) fix: avoid IllegalStateException: Timer already cancelled when StatementCanc...
* [`faa7dfc`](pgjdbc/pgjdbc@faa7dfc) test: move BaseTest4 to testkit module
* [`dbf2847`](pgjdbc/pgjdbc@dbf2847) fix(deps): update com.gradleup.nmcp to 1.1.0
* [`9245e26`](pgjdbc/pgjdbc@9245e26) Revert "fix: Update release plugin config to use .set(...) for props and inje...
* [`8e833c3`](pgjdbc/pgjdbc@8e833c3) chore: group com.gradleup.nmcp version updates
* [`ec5a088`](pgjdbc/pgjdbc@ec5a088) fix: Update release plugin config to use .set(...) for props and inject nexus...
* [`c03db58`](pgjdbc/pgjdbc@c03db58) update version to 42.7.8 ([ArcadeData#3801](https://redirect.github.com/pgjdbc/pgjdbc/issues/3801))
* [`50ff169`](pgjdbc/pgjdbc@50ff169) change logs for version 42.7.8 ([ArcadeData#3797](https://redirect.github.com/pgjdbc/pgjdbc/issues/3797))
* Additional commits viewable in [compare view](pgjdbc/pgjdbc@REL42.7.7...REL42.7.8)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=org.postgresql:postgresql&package-manager=maven&previous-version=42.7.7&new-version=42.7.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
… 2.63.0 to 2.63.1 [skip ci]

Bumps [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java) from 2.63.0 to 2.63.1.
Changelog

*Sourced from [com.google.api.grpc:proto-google-common-protos's changelog](https://github.com/googleapis/sdk-platform-java/blob/main/CHANGELOG.md).*

> Changelog
> =========
>
> [2.64.1](googleapis/sdk-platform-java@v2.64.0...v2.64.1) (2025-11-07)
> ------------------------------------------------------------------------------------------------
>
> ### Dependencies
>
> * bump opentelemetry.version to 1.52.0 ([ArcadeData#3979](https://redirect.github.com/googleapis/sdk-platform-java/issues/3979)) ([764778c](googleapis/sdk-platform-java@764778c))
>
> [2.64.0](googleapis/sdk-platform-java@v2.63.0...v2.64.0) (2025-10-31)
> ------------------------------------------------------------------------------------------------
>
> ### Features
>
> * [common-protos] Add `Carousel` widget ([1e4a7e5](googleapis/sdk-platform-java@1e4a7e5))
> * **librariangen:** add generate package ([ArcadeData#3952](https://redirect.github.com/googleapis/sdk-platform-java/issues/3952)) ([2f6c75d](googleapis/sdk-platform-java@2f6c75d))
> * **librariangen:** generate grpc stubs and resource helpers ([ArcadeData#3967](https://redirect.github.com/googleapis/sdk-platform-java/issues/3967)) ([452d703](googleapis/sdk-platform-java@452d703))
>
> ### Dependencies
>
> * Bump grpc-java to v1.76.0 ([ArcadeData#3942](https://redirect.github.com/googleapis/sdk-platform-java/issues/3942)) ([ffb557c](googleapis/sdk-platform-java@ffb557c))


Commits

* [`4aaea1e`](googleapis/sdk-platform-java@4aaea1e) chore(main): release 2.55.1 ([ArcadeData#3695](https://redirect.github.com/googleapis/sdk-platform-java/issues/3695))
* [`2725744`](googleapis/sdk-platform-java@2725744) deps: revert "deps: update arrow.version to v18.2.0" ([ArcadeData#3694](https://redirect.github.com/googleapis/sdk-platform-java/issues/3694))
* [`3d06ab7`](googleapis/sdk-platform-java@3d06ab7) chore(main): release 2.55.1-SNAPSHOT ([ArcadeData#3692](https://redirect.github.com/googleapis/sdk-platform-java/issues/3692))
* [`a38020a`](googleapis/sdk-platform-java@a38020a) chore(main): release 2.55.0 ([ArcadeData#3669](https://redirect.github.com/googleapis/sdk-platform-java/issues/3669))
* [`8fd7b62`](googleapis/sdk-platform-java@8fd7b62) build(deps): update dependency com.google.cloud:google-cloud-shared-config to...
* [`2562a7d`](googleapis/sdk-platform-java@2562a7d) chore: update googleapis commit at Thu Feb 27 02:27:38 UTC 2025 ([ArcadeData#3666](https://redirect.github.com/googleapis/sdk-platform-java/issues/3666))
* [`542d98d`](googleapis/sdk-platform-java@542d98d) chore: add aliases to generate command options. ([ArcadeData#3689](https://redirect.github.com/googleapis/sdk-platform-java/issues/3689))
* [`5192426`](googleapis/sdk-platform-java@5192426) chore: add java 8 compatibility check ([ArcadeData#3688](https://redirect.github.com/googleapis/sdk-platform-java/issues/3688))
* [`25d3101`](googleapis/sdk-platform-java@25d3101) chore: fix logback-classic version for testing ([ArcadeData#3686](https://redirect.github.com/googleapis/sdk-platform-java/issues/3686))
* [`0932605`](googleapis/sdk-platform-java@0932605) test: Reduce the LRO timeout value in Showcase tests ([ArcadeData#3684](https://redirect.github.com/googleapis/sdk-platform-java/issues/3684))
* Additional commits viewable in [compare view](googleapis/sdk-platform-java@v2.63.0...gax/v2.63.1)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=com.google.api.grpc:proto-google-common-protos&package-manager=maven&previous-version=2.63.0&new-version=2.63.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
tae898 pushed a commit to humemai/arcadedb-embedded-python that referenced this pull request Jun 28, 2026
@lvca lvca deleted the fix/3664-sqlscript-querynotidempotentexception branch July 3, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQLScript QueryNotIdempotentException

1 participant