You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alex Van Boxel (Jira)" <ji...@apache.org> on 2019/12/29 11:49:00 UTC

[jira] [Updated] (BEAM-9037) Promote proto logical type and duration to the core logical types

     [ https://issues.apache.org/jira/browse/BEAM-9037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Van Boxel updated BEAM-9037:
---------------------------------
    Description: 
The proto schema includes Timestamp and Duration with nano precision. The logical types should be promoted to the core logical types, so they can be handled on various IO's as standard mandatory conversions.

This means that the logical type should use the proto specific Timestamp and Duration but the java 8 Instant and Duration.

See discussion in the design document:

[https://docs.google.com/document/d/1uu9pJktzT_O3DxGd1-Q2op4nRk4HekIZbzi-0oTAips/edit#heading=h.9uhml95iygqr]

  was:
The proto schema includes Timestamp and Duration with nano precision. The logical types should be promoted to the core logical types, so they can be handled on various IO's as standard mandatory conversions.

See discussion in the design document:

[https://docs.google.com/document/d/1uu9pJktzT_O3DxGd1-Q2op4nRk4HekIZbzi-0oTAips/edit#heading=h.9uhml95iygqr]


> Promote proto logical type and duration to the core logical types
> -----------------------------------------------------------------
>
>                 Key: BEAM-9037
>                 URL: https://issues.apache.org/jira/browse/BEAM-9037
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-java-core
>            Reporter: Alex Van Boxel
>            Assignee: Alex Van Boxel
>            Priority: Major
>
> The proto schema includes Timestamp and Duration with nano precision. The logical types should be promoted to the core logical types, so they can be handled on various IO's as standard mandatory conversions.
> This means that the logical type should use the proto specific Timestamp and Duration but the java 8 Instant and Duration.
> See discussion in the design document:
> [https://docs.google.com/document/d/1uu9pJktzT_O3DxGd1-Q2op4nRk4HekIZbzi-0oTAips/edit#heading=h.9uhml95iygqr]



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