Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

feat: Enable Lossless Timestamps in BQ java client lib - #3589

Merged
whuffman36 merged 4 commits into
mainfrom
timestamps
Dec 2, 2024
Merged

feat: Enable Lossless Timestamps in BQ java client lib#3589
whuffman36 merged 4 commits into
mainfrom
timestamps

Conversation

@whuffman36

Copy link
Copy Markdown
Contributor

With discovery revision 20240124 or later, the BQ discovery document now properly exposes the API functionality to use lossless timestamps (DataFormatOptions.UseInt64Timestamp). This can be supplied as part of the jobs.query request, as well as passed as arguments to tabledata.list / jobs.getQueryResults.

This change enables the toggling of lossless timestamps in the java client library for BQ. The former format is still usable and is used by default. Users must opt in to use this feature.

@product-auto-labelproduct-auto-labelBot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/java-bigquery API. labels Nov 21, 2024
@whuffman36
whuffman36 marked this pull request as ready for review November 21, 2024 01:23
@whuffman36
whuffman36 requested review from a team, PhongChuong, shollyman and suzmue and removed request for suzmueNovember 21, 2024 01:23

@PhongChuongPhongChuong 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.

Overall looks good. Just a few minor comments/change requests.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/java-bigquery API.size: mPull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@whuffman36@PhongChuong