flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] incubator-flink pull request: [FLINK-1032] Rework support for POJO...
Date Sun, 05 Oct 2014 15:41:13 GMT
Github user StephanEwen commented on the pull request:

    https://github.com/apache/incubator-flink/pull/141#issuecomment-57940003
  
    The error message *"Type GenericType<test.PoJoTestProgram.MyType> is not a composite
type. Key expressions are not supported."* is not very helpful, IMHO.
    
    How about writing something like `Key expressions are only supported on POJO types. A
type is considered a POJO if all its fields are public, or have bother getters and setters
defined`. That would immediately tell the user where to look for the error, or how to alter
his types.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message