davidradl commented on code in PR #37:
URL: 
https://github.com/apache/flink-connector-hive/pull/37#discussion_r3350029926


##########
flink-connector-hive/src/main/java/org/apache/flink/table/planner/delegation/hive/HiveParserRexNodeConverter.java:
##########
@@ -926,4 +925,16 @@ private InputCtx(
             this.offsetInCalciteSchema = offsetInCalciteSchema;
         }
     }
+
+    /**
+     * Check via class name since GenericUDFCase was removed in Hive 4.1+.
+     *
+     * <p>TODO: Consider moving this check to HiveShim for consistency with 
other version-dependent
+     * class checks.
+     */
+    private static boolean isGenericUDFCase(Object udf) {
+        return udf.getClass()
+                .getName()
+                
.equals("org.apache.hadoop.hive.ql.udf.generic.GenericUDFCase");

Review Comment:
   I thought the conversations around the reviews meant you were splitting the 
Hadoop 4 code out with pom file separate dependancies; so we would not need to 
do this at runtime.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to