Skip to content

chore(bigquery-jdbc): clean up old type coercion files - #14231

Open
Neenu1995 wants to merge 2 commits into
mainfrom
type-registry-integration
Open

chore(bigquery-jdbc): clean up old type coercion files#14231
Neenu1995 wants to merge 2 commits into
mainfrom
type-registry-integration

Conversation

@Neenu1995

Copy link
Copy Markdown
Contributor

No description provided.

@Neenu1995
Neenu1995 requested review from a team as code owners September 1, 2026 18:30

@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 refactors the JDBC driver by removing the BigQueryTypeCoercer framework and its associated classes, default coercions, and type mappings. Temporal conversions are consolidated into BigQueryTemporalUtility, and classes like BigQueryBaseResultSet, BigQueryCallableStatement, and BigQueryPreparedStatement are updated to use these consolidated utility methods. A review comment identifies an issue in BigQueryTemporalUtility.convertTimeWithCalendar where the returned java.sql.Time is not normalized to the epoch date (January 1, 1970) as required by the JDBC specification, and suggests explicitly setting the date components of the Calendar to ensure proper normalization.

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