dawidwys commented on a change in pull request #11153: 
[FLINK-15958][table-common] Introduce unresolved data types in API
URL: https://github.com/apache/flink/pull/11153#discussion_r382176982
 
 

 ##########
 File path: 
flink-table/flink-table-common/src/main/java/org/apache/flink/table/catalog/DataTypeFactory.java
 ##########
 @@ -38,21 +38,29 @@
 @PublicEvolving
 public interface DataTypeFactory {
 
+       /**
+        * Creates a type out of an {@link AbstractDataType}.
+        *
+        * <p>If the given type is already a {@link DataType}, the factory will 
return it unmodified. In
+        * case of {@link UnresolvedDataType}, the factory will resolve it to a 
{@link DataType}.
+        */
+       <T extends AbstractDataType<T>> DataType 
createDataType(AbstractDataType<T> abstractDataType);
 
 Review comment:
   ditto: `<?>`

----------------------------------------------------------------
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

Reply via email to