You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2014/10/26 17:25:34 UTC
[jira] [Created] (FLINK-1182) Bad Error Message when trying to use
expression keys on non-POJO types
Stephan Ewen created FLINK-1182:
-----------------------------------
Summary: 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
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)