Vancior opened a new pull request, #19739:
URL: https://github.com/apache/flink/pull/19739

   
   ## What is the purpose of the change
   
   This PR provided using broadcast state related API such as 
`BroadcastStream`, `BroadcastConnectedStream` and `BroadcastProcessFunction` in 
PyFlink, which is a commonly asked feature.
   
   ## Brief change log
   
   - Created `RemoteOperatorStateBackend` reusing current map state 
implementation and cache handler.
   - Added interfaces and implementations wrapping broadcast state access, 
which align Java API.
   - Introduce `PythonBroadcastStateTransformation` to translate broadcast 
process function to different operators under streaming and batch mode.
   
   
   ## Verifying this change
   
   Please make sure both new and modified tests in this PR follows the 
conventions defined in our code quality guide: 
https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
   
   This change added tests and can be verified as follows:
   - `test_co_broadcast_process` inside test_data_stream.py
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (yes)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes)
     - If yes, how is the feature documented? (Sphinx python doc, doc for 
website is another PR)
   


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

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to