You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2019/09/30 21:44:00 UTC

[jira] [Created] (BEAM-8329) AvroCoder ReflectData doesn't use TimestampConversion

Brian Hulette created BEAM-8329:
-----------------------------------

             Summary: AvroCoder ReflectData doesn't use TimestampConversion
                 Key: BEAM-8329
                 URL: https://issues.apache.org/jira/browse/BEAM-8329
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
    Affects Versions: 2.16.0
            Reporter: Brian Hulette
            Assignee: Brian Hulette
             Fix For: 2.17.0


The ReflectData created by AvroCoder doesn't have {{TimeConversions.TimestampConversion}} registered which prevents it from working with millis-instant joda DateTime instances. 

AvroUtils does this statically [here|https://github.com/apache/beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/utils/AvroUtils.java#L78].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)