python vs java api

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

python vs java api

Nicos Maris
Which java features of flink are not supported by the python API when writing a pipeline?
Reply | Threaded
Open this post in threaded view
|

Re: python vs java api

vino yang
Hi Nicos,

You can read the official documentation of latest Python API about DataStream transformation[1] and latest Java API transformation[2].

However, the latest documentation may not react the new feature especially for Python API, so you can also compare the implementation of DataStream(java)[3] and PythonDataStream [4]. Note, for [3], it's not completed because some API exists in other stream objects such keyed data stream.


Thanks, vino.


2018-07-31 22:59 GMT+08:00 Nicos Maris <[hidden email]>:
Which java features of flink are not supported by the python API when writing a pipeline?

Reply | Threaded
Open this post in threaded view
|

Re: python vs java api

Nicos Maris
Thanks Vino,


Comparing functionalities in terms of the transformations is clear but what about timestamps and state?

On Tue, Jul 31, 2018 at 6:47 PM vino yang <[hidden email]> wrote:
Hi Nicos,

You can read the official documentation of latest Python API about DataStream transformation[1] and latest Java API transformation[2].

However, the latest documentation may not react the new feature especially for Python API, so you can also compare the implementation of DataStream(java)[3] and PythonDataStream [4]. Note, for [3], it's not completed because some API exists in other stream objects such keyed data stream.


Thanks, vino.


2018-07-31 22:59 GMT+08:00 Nicos Maris <[hidden email]>:
Which java features of flink are not supported by the python API when writing a pipeline?

Reply | Threaded
Open this post in threaded view
|

Re: python vs java api

vino yang
Hi Nicos,

For Checkpoint you can see the API in PythonStreamExecutionEnvironment.

But it can not set TimeCharacteristic now. I will create a JIRA issue for this. 

Thanks, vino.

2018-08-01 0:15 GMT+08:00 Nicos Maris <[hidden email]>:
Thanks Vino,


Comparing functionalities in terms of the transformations is clear but what about timestamps and state?

On Tue, Jul 31, 2018 at 6:47 PM vino yang <[hidden email]> wrote:
Hi Nicos,

You can read the official documentation of latest Python API about DataStream transformation[1] and latest Java API transformation[2].

However, the latest documentation may not react the new feature especially for Python API, so you can also compare the implementation of DataStream(java)[3] and PythonDataStream [4]. Note, for [3], it's not completed because some API exists in other stream objects such keyed data stream.


Thanks, vino.


2018-07-31 22:59 GMT+08:00 Nicos Maris <[hidden email]>:
Which java features of flink are not supported by the python API when writing a pipeline?