Skip to content

feat(bigquery-jdbc): infer undeclared fields in PreparedStatement - #14400

Draft
Neenu1995 wants to merge 5 commits into
fix-undeclared-query-parameterfrom
add-undeclared-query-parameters
Draft

Neenu1995 wants to merge 5 commits into
fix-undeclared-query-parameterfrom
add-undeclared-query-parameters

Conversation

@Neenu1995

@Neenu1995 Neenu1995 commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Fixes b/557150710

@Neenu1995
Neenu1995 requested review from a team as code owners September 16, 2026 14:11
@Neenu1995
Neenu1995 marked this pull request as draft September 16, 2026 14:11

@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 parameter type inference for BigQueryPreparedStatement by executing dry-run queries to retrieve undeclared query parameters. It also adds validation to ensure all parameters are set before execution. The review feedback highlights a compilation error in BigQueryConnection where clear() was replaced with git(), recommends handling potential exceptions when parsing SQL type names to prevent loop termination, advises removing leftover debugging print statements in production code, and suggests correcting tautological assertions in the integration tests to verify actual expected JDBC types.

@Neenu1995
Neenu1995 changed the base branch from main to fix-undeclared-query-parameter September 16, 2026 17:08
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.

1 participant