twalthr commented on a change in pull request #12616:
URL: https://github.com/apache/flink/pull/12616#discussion_r439280269
##########
File path:
flink-core/src/main/java/org/apache/flink/api/java/typeutils/TypeExtractor.java
##########
@@ -1816,10 +1816,10 @@ private boolean isValidPojoField(Field f, Class<?>
clazz, ArrayList<Type> typeHi
if(hasGetter && hasSetter) {
return true;
} else {
- if(!hasGetter) {
+ if(!hasGetter && clazz != Row.class) {
Review comment:
+1 to this. This confused people in the past anyway.
----------------------------------------------------------------
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]