bowenli86 commented on a change in pull request #9927: [FLINK-14397][hive] 
Failed to run Hive UDTF with array arguments
URL: https://github.com/apache/flink/pull/9927#discussion_r337118383
 
 

 ##########
 File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/functions/hive/conversion/HiveInspectors.java
 ##########
 @@ -450,4 +454,56 @@ private static ObjectInspector 
getObjectInspector(TypeInfo type) {
        public static DataType toFlinkType(ObjectInspector inspector) {
                return 
HiveTypeUtil.toFlinkType(TypeInfoUtils.getTypeInfoFromTypeString(inspector.getTypeName()));
        }
+
+       // given a Hive ObjectInspector, get the class for corresponding Flink 
object
+       private static Class<?> classForObjectInspector(ObjectInspector 
inspector) {
 
 Review comment:
   rename to `getClassFromObjectInspector()`?

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