flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1182) Bad Error Message when trying to use expression keys on non-POJO types
Date Sun, 26 Oct 2014 16:25:34 GMT
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)

Mime
View raw message