flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Ewen <se...@apache.org>
Subject Re: DataSet Conversion
Date Mon, 13 Jul 2015 14:00:21 GMT
Hi!

I think you can simply do "new org.apache.flink.api.scala.
DataSet[T](javaSet)"

Greetings,
Stephan

On Mon, Jul 13, 2015 at 3:55 PM, Lydia Ickler <icklerly@googlemail.com>
wrote:

> Hi guys,
>
> is it possible to convert a Java DataSet to a Scala Dataset?
> Right now I get the following error:
> Error:(102, 29) java: incompatible types:
> 'org.apache.flink.api.java.DataSet<java.lang.String> cannot be converted to
> org.apache.flink.api.scala.DataSet<java.lang.String>‘
>
> Thanks in advance,
> Lydia
>

Mime
View raw message