zhipeng93 opened a new pull request, #215:
URL: https://github.com/apache/flink-ml/pull/215
## What is the purpose of the change
Currently BroadcastUtils::withBroadcastStream does not support
DataStream::cogroup/join, since we restricted that users can only introduce one
extra operator in the specified lambda function.
To support using join/cogroup in BroadcastUtils::withBroadcastStream, we
would like to relax the restriction such that users can introduce more than
more extra operator, but only the output operator can access the broadcast
variables.
## Brief change log
- Relaxes the restrictions of BroadcastUtils::withBroadcastStream such that
users can introduce more than one operator in the specified lambda function.
- Sets keyContext to deal with the case that the non-broadcast input is a
keyed stream.
- Adds unit test to verify the change.
## 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)`: (no)
## Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (JavaDocs)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]