liu-du commented on pull request #16926: URL: https://github.com/apache/beam/pull/16926#issuecomment-1048445521
R: @reuvenlax Hi Reuven Lax, I tried using BigQueryIO.withMethod(BigQueryIO.Write.Method.STORAGE_WRITE_API) and it turned out DATE and TIMESTAMP values were converted to the correct type. I've change the type conversion according to [write api documentation](https://cloud.google.com/bigquery/docs/write-api#data_type_conversions) (DATE values need to be converted to protobuf int32 and TIMESTAMP values to int64). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
