shuiqiangchen commented on a change in pull request #13983:
URL: https://github.com/apache/flink/pull/13983#discussion_r530096275
##########
File path: flink-python/pyflink/datastream/data_stream.py
##########
@@ -597,6 +598,34 @@ def add_sink(self, sink_func: SinkFunction) ->
'DataStreamSink':
"""
return
DataStreamSink(self._j_data_stream.addSink(sink_func.get_java_function()))
+ def execute_and_collect(self, job_execution_name: str = None, limit: int =
None,
+ type_info: TypeInformation = None) ->
Union['CloseableIterator', list]:
Review comment:
There is not such API as executeAndCollect(String, int, TypeInfomation)
in Java DataStream API, the type_info field should be inline. We can get the
type info of current Stream by DataStream.get_type().
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]