[
https://issues.apache.org/jira/browse/FLINK-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212855#comment-14212855
]
ASF GitHub Bot commented on FLINK-1245:
---------------------------------------
GitHub user twalthr opened a pull request:
https://github.com/apache/incubator-flink/pull/203
[FLINK-1245] Introduce TypeHints for Java API operators
This PR contains:
- .returns(String), .returns(TypeInformation), .returns(Class) for all Java
API UdfOperators
- a new UnknownTypeInfo with a corresponding new UnknownTypeSerializer
which uses Kryo in a special configuration
- the TypeExtractor does not throw Exceptions anymore if it recognizes type
erasure,
instead it prints log warnings and returns a UnknownTypeInfo
- Java 8 Lambdas can now be compiled and run with Oracle JDK for
development (not efficient due to UnknownTypeInfo)
- since TypeInfoParser is now "Public API" I reworked it such it also
support Pojos
- Unit Tests test TypeHints, Serializers, TypeExtractor and Lambdas
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/twalthr/incubator-flink TypeInfoRework
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-flink/pull/203.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #203
----
commit 8574f9c6c8f518ef54d363d07e6d53462de78d5d
Author: twalthr <[email protected]>
Date: 2014-11-07T15:18:23Z
[FLINK-1245] Introduce TypeHints for Java API operators
----
> Introduce TypeHints for Java API operators
> ------------------------------------------
>
> Key: FLINK-1245
> URL: https://issues.apache.org/jira/browse/FLINK-1245
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: Timo Walther
> Assignee: Timo Walther
>
> Due to type extraction issues with Java 8 Lambdas and many users with type
> erasure issues, TypeHints need to be introduced.
> The whole discussion can be found on the mailing list:
> http://mail-archives.apache.org/mod_mbox/flink-dev/201410.mbox/%[email protected]%3E
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)