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

Use date logical type when converting Avro date to Beam field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-java-core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rworley Ryan Worley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: