Hi!

They are really the same. The DataSource is the subclass of DataSet which
is used when sou do a source operation (env.readTextFile(...) returns a
DataSource for example).

Greetings,
Stephan


On Mon, Aug 17, 2015 at 11:23 AM, Flavio Pompermaier <pomperma...@okkam.it>
wrote:

> Hi flinkers,
> I have a very simple question for you after the reading of the amazing
> blog page posted by Nezih Yigitbasi at http://t.co/dCDfFf6DhW (that shows
> how to integrate Flink and Avro-Parquet through Kite SDK).
>
> Is there any code style policy about when to use DataSource or when to use
> DataSet as the type of an input source? I usually use DataSet but I could
> use DataSource as well..is there any reason to prefer the first over the
> second?
>
> Best,
> Flavio
>

Reply via email to