Skip to content

MINOR: CI validation for upstream PR 1090 - #44

Draft
xborder wants to merge 25 commits into
codex/pr-1090-ci-basefrom
optimize-queries-3
Draft

xborder wants to merge 25 commits into
codex/pr-1090-ci-basefrom
optimize-queries-3

Conversation

@xborder

@xborder xborder commented Nov 10, 2026

Copy link
Copy Markdown
Owner

CI-only mirror of apache#1090. Do not merge.

  • Head: optimize-queries-3 at 4d1556fd1ef414e81503278e4682bb612fe2e3dd.
  • Base: codex/pr-1090-ci-base at a9f144203f94784b5094170350507d4182602e01, pinned to the current upstream PR base.

Purpose: run the existing Test, Integration, RC and Dev workflows against the same proposed merge as upstream PR 1090.

No source or workflow changes were added. The fork main branch and upstream PR remain unchanged.

xborder and others added 25 commits October 1, 2026 23:34
* reduced number of requests for Statement

* move meta orchestration

* detect prepared statement
Restore source-compatible exception declarations and map prepared-statement transition failures to SQLException.
Dispatch Avatica operations through package-private hooks and guard the public statement API surface.
Keep FlightEndpointDataQueue fail-fast while normalizing cancellation races inside the JDBC result-set path.
Remove redundant API visibility and interface identity tests, retain the checked prepareStatement implementation, and clarify connection ownership comments.
testShouldInterruptFlightStreamsIfQueryIsCancelledMidQuerying called
statement.cancel() right after starting the worker thread. It relied on
the prepare round trip in executeQuery to make the cancel land before a
result set existed, so only Avatica's cancel flag was set and next()
threw "Statement canceled".

Statement.executeQuery no longer prepares first, so the cancel can now
land while the result set is executing and surface as "Error while
executing SQL ...: exception while executing query: Statement
canceled", which failed the RC Binaries job.

Wait until executeQuery returns before cancelling, and replace the
300 ms sleep with a latch.
@xborder xborder added the chore label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants