Skip to content

Conversation

@aglinxinyuan
Copy link
Contributor

@aglinxinyuan aglinxinyuan commented Aug 22, 2024

This PR adds functionality for state passing between operators, enabling better coordination and data flow in complex workflows. The changes primarily involve updates to serialization logic and the introduction of mechanisms for operators to share and access the state during execution.

Key Highlights:

  1. Implementation of state serialization and deserialization.
  2. Integration of state passing into operator workflows.

This update is essential for more dynamic and responsive pipeline processing.

Introduce State as a type of Marker.

The State class has the following methods:

  1. add(key: String, value: Any, valueType: AttributeType): Unit
  2. get(key: String): Any

@aglinxinyuan aglinxinyuan merged commit db45098 into master Sep 24, 2024
@aglinxinyuan aglinxinyuan deleted the xinyuan-state-passing branch September 24, 2024 05:50
aglinxinyuan added a commit that referenced this pull request Sep 25, 2024
Fix the bug in the Python source operator, caused by a typo in PR #2802.
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR adds functionality for state passing between operators, enabling
better coordination and data flow in complex workflows. The changes
primarily involve updates to serialization logic and the introduction of
mechanisms for operators to share and access the state during execution.

Key Highlights:
1. Implementation of state serialization and deserialization.
2. Integration of state passing into operator workflows.

This update is essential for a more dynamic and responsive pipeline
processing.

Introduce `State` as a type of `Marker`.

The `State` class has the following methods: 
1. `add(key: String, value: Any, valueType: AttributeType): Unit `
2. `get(key: String): Any`
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
Fix the bug in the Python source operator, caused by a typo in PR #2802.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants