JingsongLi commented on a change in pull request #10403: [FLINK-14645][table]
Support to keep nullability and precision when converting DataTypes to
properties
URL: https://github.com/apache/flink/pull/10403#discussion_r354253525
##########
File path:
flink-table/flink-table-common/src/main/java/org/apache/flink/table/descriptors/Schema.java
##########
@@ -40,7 +45,13 @@
public static final String SCHEMA = "schema";
public static final String SCHEMA_NAME = "name";
+ /**
+ * @deprecated {@link Schema} uses the legacy type key (e.g.
schema.0.type = LONG) to store type information in
+ * prior v1.9. Since v1.10, {@link Schema} uses data type key (e.g.
schema.0.data-type = BIGINT) to store types.
+ */
+ @Deprecated
public static final String SCHEMA_TYPE = "type";
+ public static final String SCHEMA_DATATYPE = "data-type";
Review comment:
`DATATYPE` vs `DATA_TYPE`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services