jackylau created FLINK-21991: -------------------------------- Summary: flink varchar which exposes to users it not unified Key: FLINK-21991 URL: https://issues.apache.org/jira/browse/FLINK-21991 Project: Flink Issue Type: Bug Components: Table SQL / Planner Affects Versions: 1.13.0 Reporter: jackylau Fix For: 1.13.0
sql VARCHAR: If no length is specified, n is equal to 1. which is not right. calcite will transform the varchar to string {code:java} SqlDataTypeSpec type = regularColumn.getType(); boolean nullable = type.getNullable() == null ? true : type.getNullable(); RelDataType relType = type.deriveType(sqlValidator, nullable); {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)