Skip to content

Extending WindowedValue with ElementMetadata#35152

Closed
stankiewicz wants to merge 33 commits intoapache:masterfrom
stankiewicz:element_metadata_capabilities_negotiation
Closed

Extending WindowedValue with ElementMetadata#35152
stankiewicz wants to merge 33 commits intoapache:masterfrom
stankiewicz:element_metadata_capabilities_negotiation

Conversation

@stankiewicz
Copy link
Contributor

Changes:
Following #34971

  • set capability for java sdk
  • encode currently empty element metadata using proto definition from FnApi
  • WindowedValueCoder and PaneInfoCoder can now support metadata propagation if allowed by runner.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

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

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

kennknowles and others added 4 commits May 29, 2025 11:04
The DequeCoder uses ArrayDeque internally, which disallows null elements.
We could switch Deque implementations, but this change is better. To quote the
JDK docs: "While Deque implementations are not strictly required to prohibit
the insertion of null elements, they are strongly encouraged to do so. Users of
any Deque implementations that do allow null elements are strongly encouraged
not to take advantage of the ability to insert nulls. This is so because null
is used as a special return value by various methods to indicated that the
deque is empty."
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2025

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@stankiewicz
Copy link
Contributor Author

Run Java PreCommit

Abacn and others added 18 commits June 4, 2025 16:35
Fix Java Example ARM PostCommit
Co-authored-by: Bulat Safiullin <v-safiullinb@microsoft.com>
The following mostly-automated changes:

 - Moved WindowedValue from util to values package
 - Make WindowedValue an interface with companion class WindowedValues
…e#35119)

* move precommit yaml xlang to postcommit

* add json file to trigger path

* update pull request targets

* add readme workflow changes

* add cloud sdk setup

* switch out to ubuntu-latest

* add back precommit workflow

* switch names and add postcommit

* switch out to postCommitYamlIT

* add test_files_dir flag

* add conftest.py file for capturing directory flag

* shift yaml tests around to appropriate locations

* add back precommit to readme

* add license for conftest.py

* revert precommit to previous name

* remove github.event.comment.body trigger
* Remove usages of deprecated pkg_resources package

* use stdlib importlib.resources

* remove extra comma

* linting

* import order
…#35156)

* Create test

* Implement new error message

* Add beam.Create into unit test pipeline
…apache#35160)

* add friendly error message for when transform is applied to no output

* update test name

* Fix pubsub unit tests that depend on old behavior
apache#34996)

* Add warning if temp location bucket has soft delete enabled for Go SDK (resolves apache#31606)

* Corrected Formatting

* Applied suggested changes
…n cloudpickle.load (apache#35063)

* Fix class states overwritten after cloudpickle.load

* Fix further

* Fix lint
* update postgres test without driver_class_name

* update readme on how to run integration tests

* fix misspelling

* fix trailing whitespace
kennknowles and others added 9 commits June 5, 2025 22:07
…gotiation' into element_metadata_capabilities_negotiation

# Conflicts:
#	runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/BatchViewOverrides.java
#	runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/ValueInEmptyWindows.java
#	sdks/java/core/src/main/java/org/apache/beam/sdk/values/WindowedValues.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants