yandufeng created FLINK-20037: --------------------------------- Summary: there is a comment problem in fromValues(AbstractDataType<?> rowType, Object... values) method of TableEnvironment Key: FLINK-20037 URL: https://issues.apache.org/jira/browse/FLINK-20037 Project: Flink Issue Type: Improvement Components: API / Core Affects Versions: 1.11.1 Reporter: yandufeng
there is a comment problem in fromValues(AbstractDataType<?> rowType, Object... values) method of TableEnvironment, i think second column name is "name" not "f1". this is my first issue, if there is a problem, please understand. {quote}* <p>Examples: * <pre>{@code * tEnv.fromValues( * DataTypes.ROW( * DataTypes.FIELD("id", DataTypes.DECIMAL(10, 2)), * DataTypes.FIELD("name", DataTypes.STRING()) * ), * row(1, "ABC"), * row(2L, "ABCDE") * ) * }</pre> * will produce a Table with a schema as follows: * <pre>{@code * root * |-- id: DECIMAL(10, 2) * |-- f1: STRING * }</pre> * * <p>For more examples see \{@link #fromValues(Object...)}.{quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)