danny0405 commented on a change in pull request #11568: [FLINK-16779][table] 
Add RAW type support in DDL and functions
URL: https://github.com/apache/flink/pull/11568#discussion_r402703105
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/calcite/FlinkTypeFactory.scala
 ##########
 @@ -484,6 +493,9 @@ object FlinkTypeFactory {
       // CURSOR for UDTF case, whose type info will never be used, just a 
placeholder
       case CURSOR => new TypeInformationRawType[Nothing](new NothingTypeInfo)
 
+      case null if relDataType.isInstanceOf[RawRelDataType] =>
 
 Review comment:
   I would suggest to use `SqlTypeName.ANY` which indicates the type comes from 
a Java object.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to