GitHub user aljoscha opened a pull request:
https://github.com/apache/flink/pull/293
Fix nested generics scala
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/flink fix-nested-generics-scala
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/293.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 #293
----
commit 119e8b3bdb6cc4f362e9e55b6ac531b3c391fae5
Author: Aljoscha Krettek <[email protected]>
Date: 2015-01-09T16:11:17Z
[FLINK-1378] [scala] Fix type extraction for nested type parameters
Before, something like:
def f[T: TypeInformation](data: DataSet[T]) = {
val tpe = createTypeInformation[(T, Seq[T])]
println("Type: " + tpe)
}
f(Seq(1.0f, 2.0f)
would fail because the type extractor could not re-use existing
TypeInformation for nested types.
commit dc090f791f7d57edea34bea5393c839a88c0266c
Author: Aljoscha Krettek <[email protected]>
Date: 2015-01-09T18:04:23Z
[FLINK-1378] Add support for Throwables in KryoSerializer
commit af38c47baa9d48ecaf5abd21414e65a9f028f427
Author: Aljoscha Krettek <[email protected]>
Date: 2015-01-09T18:31:05Z
[FLINK-1378] [scala] Add support for Try[A] (Success/Failure)
----
---
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.
---