[
https://issues.apache.org/jira/browse/BEAM-12544?focusedWorklogId=618861&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-618861
]
ASF GitHub Bot logged work on BEAM-12544:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jul/21 03:47
Start Date: 06/Jul/21 03:47
Worklog Time Spent: 10m
Work Description: Dobiasd commented on pull request #15087:
URL: https://github.com/apache/beam/pull/15087#issuecomment-874437043
The tests are based on the assumption, that in the conversion chain `Avro
(A) -> Beam (B) -> Avro (C)` the schema in C is the same as in A.
For millisecond timestamps this works fine: `Avro (TimestampMillis) -> Beam
(DATETIME) -> Avro (TimestampMillis)`
But for microsecond timestamps it does not: `Avro (TimestampMicros) -> Beam
(DATETIME) -> Avro (TimestampMillis)`
Thus I've just pushed a commit that removed the (failing) tests for
`TimestampMillis` again.
@iemejia Do you think this pull request is good to (squash-)merge despite
that lack of additional tests?
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 618861)
Time Spent: 2h 10m (was: 2h)
> Add support for Avro timestamps in microseconds
> -----------------------------------------------
>
> Key: BEAM-12544
> URL: https://issues.apache.org/jira/browse/BEAM-12544
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Affects Versions: Not applicable
> Reporter: Tobias Hermann
> Priority: P2
> Fix For: Not applicable
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> GenericRecordToRowFn in AvroUtils does not support the logical Avro type
> "timestamp-micros". Instead of converting it to FieldType.DATETIME (as it
> does with "timestamp-millis") it just interprets it as a raw LONG.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)