You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/10/28 17:57:35 UTC
[jira] [Resolved] (FLINK-1182) Bad Error Message when trying to use
expression keys on non-POJO types
[ https://issues.apache.org/jira/browse/FLINK-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-1182.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.8-incubating
Assignee: Stephan Ewen
Fixed in b0c1af59bf139a369aac5a0680c81a6fc08acccc
> Bad Error Message when trying to use expression keys on non-POJO types
> ----------------------------------------------------------------------
>
> Key: FLINK-1182
> URL: https://issues.apache.org/jira/browse/FLINK-1182
> Project: Flink
> Issue Type: Bug
> Components: Java API, Scala API
> Affects Versions: 0.7-incubating
> Reporter: Stephan Ewen
> Assignee: Stephan Ewen
> Fix For: 0.8-incubating
>
>
> It says "type is not composite (but is) and goes on talking about POJO types." I think that should be fixed.
> {code}
> Type GenericType<flink.tutorial.pagerank.PageRank.Page> is not a composite type. Key expressions are only supported on POJO types and Tuples. A type is considered a POJO if all its fields are public, or have both getters and setters defined
> at org.apache.flink.api.java.operators.Keys$ExpressionKeys.<init>(Keys.java:249)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)