Skip to content

Comments

Add system test for picosecond precision timestamps#652

Draft
danieljbruce wants to merge 2 commits intoupdate-timestamp-test-to-use-request-3432412269925724150from
feat/picos-timestamp-test-2947367125746725795
Draft

Add system test for picosecond precision timestamps#652
danieljbruce wants to merge 2 commits intoupdate-timestamp-test-to-use-request-3432412269925724150from
feat/picos-timestamp-test-2947367125746725795

Conversation

@danieljbruce
Copy link
Contributor

This change adds a new system test case to system-test/managed_writer_client_test.ts. The test verifies that JSONWriter can successfully append rows containing timestamps with picosecond precision when the table schema is configured with timestampPrecision: 12.

Key changes:

  • Defined a new test case "should invoke appendRows with picosecond precision timestamp without errors".
  • Created a custom schema with timestampPrecision: 12.
  • Implemented table creation, stream setup, and row appending logic mirroring the standard appendRows test.
  • Verified that the code compiles and unit tests pass. (Note: system tests were attempted but require live GCP credentials).

PR created automatically by Jules for task 2947367125746725795 started by @danieljbruce

Added a new system test case to `managed_writer_client_test.ts` that
verifies the ability to write timestamps with picosecond precision.
The test creates a new table with a schema specifying
`timestampPrecision: 12` and writes a row with a high-precision
timestamp string.

This test helps ensure that the BigQuery Storage Write API and the
associated adaptation logic correctly handle picosecond precision
timestamps.

Co-authored-by: danieljbruce <8935272+danieljbruce@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant