Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Table API & SQL
    • Labels:
      None

      Description

      Similar to https://issues.apache.org/jira/browse/FLINK-4554
      We want to support Map value constructor which is supported by Calcite:
      https://calcite.apache.org/docs/reference.html#value-constructors

      SELECT
        MAP['key1', f0, 'key2', f1] AS stringKeyedMap,
        MAP['key', 'value'] AS literalMap,
        MAP[f0, f1] AS fieldMap
      FROM
        table
      

      This should enable users to construct MapTypeInfo, one of the CompositeType.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                walterddr Rong Rong
                Reporter:
                walterddr Rong Rong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: