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 [email protected] or file a JIRA ticket
with INFRA.
---