Skip to content

fix(bigquery-jdbc): abort session when connection is closed - #14273

Open
Neenu1995 wants to merge 4 commits into
mainfrom
fix-session-abort
Open

fix(bigquery-jdbc): abort session when connection is closed#14273
Neenu1995 wants to merge 4 commits into
mainfrom
fix-session-abort

Conversation

@Neenu1995

@Neenu1995 Neenu1995 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #13922

@Neenu1995
Neenu1995 requested review from a team as code owners September 4, 2026 18:56

@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 introduces changes to automatically abort active BigQuery sessions when a connection is closed. Specifically, it adds an abortSession method in BigQueryConnection that executes CALL BQ.ABORT_SESSION(); and cleans up session-related connection properties. Corresponding unit and integration tests have been added to verify this behavior. The feedback suggests a minor improvement to the exception message when handling InterruptedException to more accurately reflect that the interruption occurred during session abortion.

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.

bigquery-jdbc: unable to run SQL 'CALL BQ.ABORT_SESSION()'

1 participant