GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Enable Lossless Timestamps in BQ java client lib by whuffman36 · Pull Request #3589 · googleapis/java-bigquery

This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Conversation

@whuffman36

@whuffman36 whuffman36 commented Nov 21, 2024

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@whuffman36
feat: Enable Lossless Timestamps in BQ java client lib
2e58fee
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/java-bigquery API. labels Nov 21, 2024
whuffman36 added 2 commits November 20, 2024 16:58
@whuffman36
Fix Formatting.
818afec
@whuffman36
Fix tests for FieldValue and FieldValueList.
513aa7e
@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 suzmue November 21, 2024 01:23
PhongChuong
PhongChuong reviewed Nov 25, 2024
View reviewed changes

@PhongChuong PhongChuong left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryJobConfiguration.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/FieldValue.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryOptions.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/QueryRequestInfoTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@whuffman36
Add more robust testing to IT test, minor formatting fixes.
1569d72
PhongChuong
PhongChuong approved these changes Dec 2, 2024
View reviewed changes
@whuffman36
whuffman36 merged commit c0b874a into main Dec 2, 2024
@whuffman36
whuffman36 deleted the timestamps branch December 2, 2024 18:25
@release-please release-please Bot mentioned this pull request Dec 2, 2024
chore(main): release 2.45.0 #3590
Merged
This was referenced Dec 17, 2024
December 16, 2024 kitta65/bq-extension-vscode#615
Closed
December 16, 2024 kitta65/prettier-plugin-bq#558
Closed
December 16, 2024 kitta65/bq2cst#459
Closed
@release-please release-please Bot mentioned this pull request Dec 15, 2025
chore(protobuf-4.x-rc): release 2.58.0-rc1 #4012
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@shollyman shollyman Awaiting requested review from shollyman
1 more reviewer
@PhongChuong PhongChuong PhongChuong approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: bigquery Issues related to the googleapis/java-bigquery API. size: m Pull request size is medium.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@whuffman36 @PhongChuong
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.