[ https://issues.apache.org/jira/browse/FLINK-3702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432886#comment-15432886 ]
ASF GitHub Bot commented on FLINK-3702: --------------------------------------- Github user twalthr commented on a diff in the pull request: https://github.com/apache/flink/pull/2094#discussion_r75876606 --- Diff: flink-tests/src/test/java/org/apache/flink/test/streaming/runtime/DataStreamPojoITCase.java --- @@ -139,17 +139,6 @@ public void flatMap(Data value, Collector<Data> out) throws Exception { } - /** - * As per FLINK-3702 Flink doesn't support nested pojo fields for sum() - */ - @Test(expected = IllegalArgumentException.class) --- End diff -- I think it would be useful to keep this and `testNestedPojoFieldAccessor`. So that we also have an end-to-end test. > DataStream API PojoFieldAccessor doesn't support nested POJOs > ------------------------------------------------------------- > > Key: FLINK-3702 > URL: https://issues.apache.org/jira/browse/FLINK-3702 > Project: Flink > Issue Type: Improvement > Components: DataStream API > Affects Versions: 1.0.0 > Reporter: Robert Metzger > Assignee: Gabor Gevay > > The {{PojoFieldAccessor}} (which is used by {{.sum(String)}} and similar > methods) doesn't support nested POJOs right now. > As part of FLINK-3697 I'll add a check for a nested POJO and fail with an > exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)