[
https://issues.apache.org/jira/browse/BEAM-2969?focusedWorklogId=212685&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-212685
]
ASF GitHub Bot logged work on BEAM-2969:
----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Mar/19 21:16
Start Date: 13/Mar/19 21:16
Worklog Time Spent: 10m
Work Description: pabloem commented on issue #8046: [BEAM-2969] Handle
negative AVRO timestamps
URL: https://github.com/apache/beam/pull/8046#issuecomment-472608959
What happens if we need 64 bits to represent a positive time? Maybe that's
too far in the future?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 212685)
Time Spent: 1h 50m (was: 1h 40m)
> BigQueryIO fails when reading then writing timestamps before 1970
> -----------------------------------------------------------------
>
> Key: BEAM-2969
> URL: https://issues.apache.org/jira/browse/BEAM-2969
> Project: Beam
> Issue Type: Bug
> Components: io-java-gcp
> Reporter: Kevin Peterson
> Assignee: Udi Meiri
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> I have a batch pipeline which reads from BigQuery (via standard sql query),
> does a small transform, and writes the data back to BigQuery.
> This fails if any timestamps are present in the BQ data from before 1970:
> {{"message" : "JSON parsing error in row starting at position 0: Couldn't
> convert value to timestamp: Could not parse '1969-12-28 02:52:54.-484 UTC' as
> a timestamp. Required format is YYYY-MM-DD HH:MM[:SS[.SSSSSS]] Field:
> observed_timestamp; Value: 1969-12-28 02:52:54.-484 UTC",}}
> It appears the TableRow coder doesn't handle negative timestamps properly,
> using a negative number for the fractions of a second, which BQ considers
> invalid.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)