damccorm opened a new pull request, #22897:
URL: https://github.com/apache/beam/pull/22897
This continues to grow our state support by adding map state support. Once
this is in, I'll add a follow up PR with an integration test. In the meantime,
I tested manually by running the hacked wordcount found here - - and it
produced output like:
```
any, 1. Total num keys: 2. With keys: [any5 any]
any, 2. Total num keys: 3. With keys: [any7 any5 any]
any, 3. Total num keys: 4. With keys: [any28 any7 any5 any]
any, 4. Total num keys: 5. With keys: [any28 any7 any5 any any13]
any, 5. Total num keys: 6. First 5 keys: [any28 any7 any5 any any13]
any, 6. Total num keys: 7. First 5 keys: [any28 any7 any5 any any13]
any, 7. Total num keys: 8. First 5 keys: [any28 any5 any13 any97 any98]
any, 8. Total num keys: 9. First 5 keys: [any28 any5 any13 any97 any98]
any, 9. Total num keys: 10. First 5 keys: [any28 any5 any13 any97 any98]
any, 10. Total num keys: 11. First 5 keys: [any28 any5 any13 any97 any98]
any, 11. Total num keys: 12. First 5 keys: [any28 any5 any13 any97 any98]
any, 12. Total num keys: 13. First 5 keys: [any28 any5 any13 any97 any98]
any, 13. Total num keys: 14. First 5 keys: [any28 any5 any13 any97 any98]
any, 14. Total num keys: 14. First 5 keys: [any28 any5 any13 any97 any98]
any, 15. Total num keys: 15. First 5 keys: [any33 any8 any28 any5 any6]
any, 16. Total num keys: 16. First 5 keys: [any33 any8 any28 any5 any6]
any, 17. Total num keys: 17. First 5 keys: [any33 any9 any8 any28 any5]
any, 18. Total num keys: 18. First 5 keys: [any33 any9 any8 any28 any5]
Camelot, 1. Total num keys: 2. With keys: [Camelot Camelot17]
Mean, 1. Total num keys: 2. With keys: [Mean87 Mean]
Reverbs, 1. Total num keys: 2. With keys: [Reverbs Reverbs73]
devour, 1. Total num keys: 2. With keys: [devour devour26]
vengeance, 1. Total num keys: 2. With keys: [vengeance vengeance6]
vengeance, 2. Total num keys: 3. With keys: [vengeance72 vengeance
vengeance6]
vengeance, 3. Total num keys: 4. With keys: [vengeance64 vengeance6
vengeance72 vengeance]
...
```
Note that this doesn't add support for Remove (to remove a single key). This
will come in a future pr and has been noted in #22736
Part of #22736
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [ ] [**Choose
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and
mention them in a comment (`R: @username`).
- [ ] Mention the appropriate issue in your description (for example:
`addresses #123`), if applicable. This will automatically add a link to the
pull request in the issue. If you would like the issue to automatically close
on merging the pull request, comment `fixes #<ISSUE NUMBER>` instead.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more
tips on [how to make review process
smoother](https://beam.apache.org/contribute/get-started-contributing/#make-the-reviewers-job-easier).
To check the build health, please visit
[https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Go+tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more
information about GitHub Actions CI.
--
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]