buptljy created FLINK-10120: ------------------------------- Summary: Support string representation for types like array Key: FLINK-10120 URL: https://issues.apache.org/jira/browse/FLINK-10120 Project: Flink Issue Type: Improvement Components: Type Serialization System Reporter: buptljy
Now we have to use row type to replace array type when we want to create a table schema or format schema with nested types. For example, we have to use {code:java} Types.ROW( new String[]{"a", "b", "c"}, new TypeInformation[]{Types.STRING(), Types.INT(), Types.ROW( new String[]{"a", "b", "c"}, new TypeInformation[]{Types.STRING(), Types.STRING(),Types.STRING()})} {code} instead of {code:java} Types.ROW( new String[]{"a", "b", "c"}, new TypeInformation[]{Types.STRING(), Types.INT(), BasicArrayTypeInfo.STRING_TYPE_INFO}) {code} because the program will fail in TypeStringUtils.readTypeInfo. -- This message was sent by Atlassian JIRA (v7.6.3#76005)