You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On beam 2.63.0, when writing GenericRecords to BQ using time-millis logical types over the Java SDK, a different value is written depending on whether I use STORAGE_WRITE_API method or FILE_LOADS method.
Repro setup (sorry for Scio code, will work on reproducing in a Beam as well):
The time-millis value for the table written using FILE_LOADS does not match the value written using STORAGE_WRITE_API:
storage_write_api data:
file_loads data:
Tbh, the only value that looks correct is the file-loads micros value 😬 I'm extremely concerned about this as potentially incorrect data is being written using BQ's Avro interface.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
Component: Python SDK
Component: Java SDK
Component: Go SDK
Component: Typescript SDK
Component: IO connector
Component: Beam YAML
Component: Beam examples
Component: Beam playground
Component: Beam katas
Component: Website
Component: Infrastructure
Component: Spark Runner
Component: Flink Runner
Component: Samza Runner
Component: Twister2 Runner
Component: Hazelcast Jet Runner
Component: Google Cloud Dataflow Runner
The text was updated successfully, but these errors were encountered:
hmm maybe, I notice that that branch doesn't do any if/else checks on the value of the micros flag like elsewhere in the method, so maybe we're just missing that multiplier
What happened?
On beam 2.63.0, when writing GenericRecords to BQ using
time-millis
logical types over the Java SDK, a different value is written depending on whether I useSTORAGE_WRITE_API
method orFILE_LOADS
method.Repro setup (sorry for Scio code, will work on reproducing in a Beam as well):
The time-millis value for the table written using FILE_LOADS does not match the value written using STORAGE_WRITE_API:
storage_write_api data:

file_loads data:

Tbh, the only value that looks correct is the file-loads micros value 😬 I'm extremely concerned about this as potentially incorrect data is being written using BQ's Avro interface.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: