Closed VDVsx closed 1 month ago
I have also seen this issue. I will also add, I tried changing the type to bigquery.NullTimestamp
and have the same problem.
Thanks for the test case and the wonderful report. @goccy @totem3 I've opened a PR here #276
Downgrading to Go SDK v1.58.0
is working as a temporary workaround.
Confirmed in release notes: https://github.com/googleapis/google-cloud-go/releases/tag/bigquery%2Fv1.59.0
Thanks @goccy and @ohaibbq!
What happened?
Error occurs when trying to query records using the Go library(
cloud.google.com/go/bigquery v1.59.1
) previously saved using the same lib, that contain a time.Time type.What did you expect to happen?
The records can be loaded as before.
How can we reproduce it (as minimally and precisely as possible)?
Emulator running with project/dataset/table in place. Make sure cloud.google.com/go/bigquery > v.159.0.
Simple example(sorry that the formatting is a bit off after c&p)
Anything else we need to know?
This is likely related to this commit in the Go lib, since it started to happen after this release: https://github.com/googleapis/google-cloud-go/pull/9368