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

Support string representation for types like array

    XMLWordPrintableJSON

Details

    Description

      In TypeStringUtils.readTypeInfo:

          case _: BasicArrayTypeInfo[_, _] | _: ObjectArrayTypeInfo[_, _] |
               _: PrimitiveArrayTypeInfo[_] =>
            throw new TableException("A string representation for array types is not supported yet.")
      

      This exception makes us unable to create a table schema or format schema with a array type field.

      I'm not sure whether this is an improvement or not, because you throw an exception explicitly here.

      Attachments

        Issue Links

          Activity

            People

              junz Jun Zhang
              wind_ljy Jiayi Liao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: