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

Date type mapping from AVRO to Beam Schema produces invalid schema when used with Beam SQL

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • 2.25.0
    • None
    • sdk-java-core

    Description

      The date type mapping in AvroUtils (introduced in https://github.com/apache/beam/pull/9152) produces DATETIME fields for AVRO fields with logical type date. Beam SQL expects LOGICAL_TYPE/Date for DATE fields, which was introduced after the AvroUtils mapping was made.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sjvanrossum Steven van Rossum
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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