Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Invalid
-
0.5.0
Description
When using an Instant type in a TableRow, and a TIMESTAMP field in the TableFieldSchema, one has to convert the Instant via
instant.getMillis() / 1000
to match the BigQuery TIMESTAMP that is "A positive or negative decimal number. A positive number specifies the number of seconds since the epoch".
In the Dataflow 1.9 SDK this conversion is done automatically.