Skip to content

bigquery: timestamp_output_format causes 400 on query results #13788

@kurochan

Description

@kurochan

Client

BigQuery

Environment

Production on GKE
go version: go1.25.7

Code and Dependencies

package: cloud.google.com/go/bigquery v1.73.0

Expected behavior

Query results are returned successfully (same as v1.72.0 and earlier).

Actual behavior

Query fails with:

googleapi: Error 400: timestamp_output_format is not supported yet., invalid

Additional context

Started after upgrading to cloud.google.com/go/bigquery v1.73.0.
The v1.73.0 release includes transition format options (#13422) (commit 59efe32 ), which appears to replace UseInt64Timestamp with TimestampOutputFormat=INT64. The BigQuery REST API seems to reject timestamp_output_format currently, causing a regression.

Related issue: googleapis/google-cloud-go#13786

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the BigQuery API.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions