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

Support STRUCT type in BeamJavaUdfCalcRule.

Details

    • New Feature
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • dsl-sql-zetasql

    Description

      We want the STRUCT ZetaSQL type to correspond to org.apache.beam.sdk.values.Row in Java UDFs. But the type inference logic doesn't know how to create a Calcite struct type from a Row yet. https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/utils/CalciteUtils.java#L288

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ibzib Kyle Weaver
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: