You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/08/12 04:56:01 UTC

[GitHub] [flink] shuiqiangchen commented on a change in pull request #13119: [FLINK-18885][python] Add partitioning interfaces for Python DataStre…

shuiqiangchen commented on a change in pull request #13119:
URL: https://github.com/apache/flink/pull/13119#discussion_r469004707



##########
File path: flink-python/pyflink/datastream/data_stream.py
##########
@@ -563,6 +654,27 @@ def key_by(self, key_selector: Union[Callable, KeySelector],
                key_type_info: TypeInformation = None) -> 'KeyedStream':
         return self._origin_stream.key_by(key_selector, key_type_info)
 
+    def union(self, *streams) -> 'DataStream':
+        return self._values().union(*streams)

Review comment:
       Yes, it's a critical issue that would affect the correctness of DAG, I will fix it in [this JIRA](https://issues.apache.org/jira/browse/FLINK-18878).




----------------------------------------------------------------
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:
users@infra.apache.org