[
https://issues.apache.org/jira/browse/FLINK-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644057#comment-14644057
]
Fabian Hueske commented on FLINK-2410:
--------------------------------------
I had exactly the same problem with shipping the {{PojoTypeInfo}} before.
If I recall correctly, [~StephanEwen] said that {{TypeInformation}} is not
meant to be distributed (not sure why it implements {{Serializable}} then) but
only the Serializers and Comparators.
I was able to solve the problem without serializing {{PojoTypeInfo}}. Maybe the
TableAPI can be adapted in a similar way?
> 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)