[ https://issues.apache.org/jira/browse/FLINK-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642667#comment-14642667 ]
ASF GitHub Bot commented on FLINK-2410: --------------------------------------- GitHub user twalthr opened a pull request: https://github.com/apache/flink/pull/943 [FLINK-2410] [java api] PojoTypeInfo is not completely serializable The type `java.reflect.Field` is not Serializable and has to be serialized manually, which was not implemented until now in `PojoTypeInfo`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/twalthr/flink MakePojoSerializable Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/943.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #943 ---- commit 9de28a412172fad9e070e2f2fc43fe6bfc922f57 Author: twalthr <twal...@apache.org> Date: 2015-07-27T12:34:10Z [FLINK-2410] [java api] PojoTypeInfo is not completely serializable ---- > PojoTypeInfo is not completely serializable > ------------------------------------------- > > Key: FLINK-2410 > URL: https://issues.apache.org/jira/browse/FLINK-2410 > Project: Flink > Issue Type: Bug > Components: Java API > Reporter: Timo Walther > Assignee: Timo Walther > > Table API requires PojoTypeInfo to be serializable. The following code fails: > {code} > Table finishedEtlTable = maxMeasurements > .join(stationTable).where("s_station_id = m_station_id") > .select("year, month, day, value, country, name"); > DataSet<MaxTemperature> maxTemp = tableEnv.toDataSet(finishedEtlTable, > MaxTemperature.class); > maxTemp > .groupBy("year") > .sortGroup("value", Order.DESCENDING) > .first(1) > .print(); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)