You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "stankiewicz (via GitHub)" <gi...@apache.org> on 2026/10/23 13:19:22 UTC
[PR] [Model] Add V2 standard coders for WindowedValue and Timer with ElementMetadata support [beam]
stankiewicz opened a new pull request, #40744:
URL: https://github.com/apache/beam/pull/40744
Introduces standard coder definitions in beam_runner_api.proto for WindowedValue and Timer V2:
- WINDOWED_VALUE_V2 (beam:coder:windowed_value:v2 = 19)
- TIMER_V2 (beam:coder:timer:v2 = 20)
These coders enable systemic element metadata propagation (e.g. pipeline drain signals like DrainMode::DRAINING to terminate looping timers, as well as tracing context) across Fn API boundaries.
Encoding utilizes the MSB (0x80) of the first PaneInfo byte as a metadata presence bit:
- When bit 0x80 is 0, metadata is absent, maintaining an identical wire footprint to V1 with zero overhead for standard pipelines.
- When bit 0x80 is 1, a VarInt64 length prefix and serialized ElementMetadata proto bytes immediately follow PaneInfo.
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Model] Add V2 standard coders for WindowedValue and Timer with ElementMetadata support [beam]
Posted by "kennknowles (via GitHub)" <gi...@apache.org>.
kennknowles merged PR #40744:
URL: https://github.com/apache/beam/pull/40744
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Model] Add V2 standard coders for WindowedValue and Timer with ElementMetadata support [beam]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #40744:
URL: https://github.com/apache/beam/pull/40744#issuecomment-6366486368
## [Codecov](https://app.codecov.io/gh/apache/beam/pull/40744?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 79.92%. Comparing base ([`a8d6afd`](https://app.codecov.io/gh/apache/beam/commit/a8d6afdf5cbc8c4635732ad6dd8b702d16d869ec?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`58f02df`](https://app.codecov.io/gh/apache/beam/commit/58f02df3a2c4216ea6d2dfc084f21fc8dc4ddd45?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 58 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## master #40744 +/- ##
==========================================
- Coverage 80.04% 79.92% -0.12%
==========================================
Files 490 493 +3
Lines 82916 83402 +486
==========================================
+ Hits 66373 66662 +289
- Misses 16543 16740 +197
```
| [Flag](https://app.codecov.io/gh/apache/beam/pull/40744/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [python](https://app.codecov.io/gh/apache/beam/pull/40744/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `79.92% <ø> (-0.12%)` | :arrow_down: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/beam/pull/40744?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Model] Add V2 standard coders for WindowedValue and Timer with ElementMetadata support [beam]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #40744:
URL: https://github.com/apache/beam/pull/40744#issuecomment-6366063129
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment `assign set of reviewers`
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Model] Add V2 standard coders for WindowedValue and Timer with ElementMetadata support [beam]
Posted by "stankiewicz (via GitHub)" <gi...@apache.org>.
stankiewicz commented on PR #40744:
URL: https://github.com/apache/beam/pull/40744#issuecomment-6366050666
R: @acrites
R: @kennknowles
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org