Ruan-Xin commented on a change in pull request #11876:
URL: https://github.com/apache/flink/pull/11876#discussion_r416276143



##########
File path: 
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/functions/hive/conversion/HiveInspectors.java
##########
@@ -354,25 +354,25 @@ public static ObjectInspector getObjectInspector(HiveShim 
hiveShim, Class clazz)
                if (clazz.equals(String.class) || clazz.equals(Text.class)) {
 
                        typeInfo = TypeInfoFactory.stringTypeInfo;
-               } else if (clazz.equals(Boolean.class) || 
clazz.equals(BooleanWritable.class)) {
+               } else if (clazz.equals(boolean.class) || 
clazz.equals(Boolean.class) || clazz.equals(BooleanWritable.class)) {

Review comment:
       Ok, I will remove the method.




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


Reply via email to