Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9037

Instant and duration as logical type

Details

    • Task
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-java-core

    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

      Attachments

        Issue Links

          Activity

            People

              alexvanboxel Alex Van Boxel
              alexvanboxel Alex Van Boxel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h
                  5h