Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9161

Support STRUCT syntax to create named STRUCT in SQL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • None
    • Table SQL / API

    Description

      As discussed in calcite dev mailing list, we want add support for adding named structure construction in SQL, e.g.,

      SELECT STRUCT(a as first_name, b as last_name, STRUCT(c as zip code, d as
      street, e as state) as address) as record FROM example_table
      

      This would require adding necessary change in Calcite first.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              suez1224 Shuyi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: