davidradl commented on code in PR #25336:
URL: https://github.com/apache/flink/pull/25336#discussion_r1762908443


##########
flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java:
##########
@@ -1971,7 +1967,7 @@ private <OUT, IN1, IN2> TypeInformation<OUT> 
privateGetForClass(
         }
 
         // special case for POJOs generated by Avro.
-        if (hasSuperclass(clazz, AVRO_SPECIFIC_RECORD_BASE_CLASS)) {
+        if (AvroUtils.isAvroSpecificRecord(clazz)) {

Review Comment:
   I am wondering does does the avro-maven-plugin ever generate / support a 
POJO that inherits from a POJO class that implements  
AVRO_SPECIFIC_RECORD_BASE_CLASS. If so should be walk the inheritance tree to 
find AVRO_SPECIFIC_RECORD_BASE_CLASS?



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to