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

array return type SpecificTypeStrategies.ARRAY and ifThenElse return type is not correct

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.18.0
    • 1.18.0
    • Table SQL / Planner
    • None

    Description

      like array return type

      Type strategy that returns a {@link DataTypes#ARRAY(DataType)} with element type equal to the type of the first argument, which is not equals calcite semantic.

      for example

      ARRAY<BIGINT NOT NULL> and ARRAY<BIGINT> NOT NULL
      it should return  ARRAY<BIGINT> instead of ARRAY<BIGINT NOT NULL>

      Attachments

        Activity

          People

            Unassigned Unassigned
            jackylau Jacky Lau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: