apache / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
7.71k stars 4.2k forks source link

[Bug][Go SDK]: Xlang Bigquery IO doesn't appear to support Time type fields. #27514

Open lostluck opened 1 year ago

lostluck commented 1 year ago

What happened?

The cross language BigQuery IO doesn't appear to support time.Time type fields, preventing use in some pipelines. This should be confirmed via a test, fixed and the package documentation updated.

https://pkg.go.dev/github.com/apache/beam/sdks/v2/go/pkg/beam/io/xlang/bigqueryio

Issue Priority

Priority: 2 (default / most bugs should be filed as P2)

Issue Components

mls3odp commented 3 weeks ago

.take-issue

mls3odp commented 3 weeks ago

Wondering is this about addressing the type conversion here in bigquery.go? And are TODOs including adding time.Time type in fulltype.go, and the corresponding function in class.go for classifying time.Time type? CMIIW, thanks!