You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ryan Worley (Jira)" <ji...@apache.org> on 2021/07/14 12:15:00 UTC

[jira] [Created] (BEAM-12612) Use date logical type when converting Avro date to Beam field

Ryan Worley created BEAM-12612:
----------------------------------

             Summary: Use date logical type when converting Avro date to Beam field
                 Key: BEAM-12612
                 URL: https://issues.apache.org/jira/browse/BEAM-12612
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Ryan Worley
            Assignee: Ryan Worley


Currently, Avro dates are converted to Beam datetimes.  With this change, we can retain the original date field type.

I discovered this issue when further converting the Beam schema to a BigQuery TableSchema.  The BigQuery field ended up as a TIMESTAMP instead of the desired DATE type.



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