bigquery: timestamp parsing issue when fetching parameterized query jobs and their config #9221
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
Client
BigQuery
Environment
MacOS
Go Environment
Code
Expected behavior
Following the example in the docs to submit a BigQuery query with a timestamp parameter and then listing jobs using the golang sdk it should be possible to get the job configs without any errors.
Setup:
Then using the code provided above, the call to
job.Config()
should return a properly parsed job config.Actual behavior
Error while parsing timestamp:
Additional context
if a timezone is included in the timestamp like
--parameter='ts_value:TIMESTAMP:2016-12-07 08:00:00+00:00'
then it works but since that's not required and also not included in the example then it would be good if the library handles that format as well.The text was updated successfully, but these errors were encountered: