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



##########
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)
+
+    def shuffle(self) -> 'DataStream':
+        return self._origin_stream.shuffle()
+
+    def project(self, *field_indexes) -> 'DataStream':
+        return self._origin_stream.project(*field_indexes)
+
+    def rescale(self) -> 'DataStream':
+        return self._origin_stream.rescale()
+
+    def rebalance(self) -> 'DataStream':
+        return self._origin_stream.rebalance()
+
+    def forward(self) -> 'DataStream':
+        return self._origin_stream.forward()
+
+    def broadcast(self) -> 'DataStream':
+        return self._origin_stream.broadcast()

Review comment:
       Yes, I have tested them and revised the code.




----------------------------------------------------------------
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]


Reply via email to