You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Hi,
There is a small, but a misleading, bug in examples on how to set an expiration for the table in Java.
https://cloud.google.com/bigquery/docs/managing-tables#updating_a_tables_expiration_time
Relevant code:
java-bigquery/samples/snippets/src/main/java/com/example/bigquery/UpdateTableExpiration.java
Line 33 in fa998ba
Expiration is shown in pure milliseconds of time and not in milliseconds since the epoch like stated in method documentation.
Instead, the example should use:
or simple
Environment details
Steps to reproduce