-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
full persistence in AsyncTransformer and fully async udfs (#8164)
Co-authored-by: Jakub Kowalski <[email protected]> GitOrigin-RevId: 4423803c31f732ff373f416189c1bf0a9e6b7d4d
- Loading branch information
1 parent
01311e6
commit 8ee45f2
Showing
40 changed files
with
2,410 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright © 2025 Pathway | ||
|
||
from __future__ import annotations | ||
|
||
from dataclasses import dataclass | ||
|
||
from pathway.internals import expression as expr | ||
from pathway.internals.expression_visitor import IdentityTransform | ||
|
||
|
||
@dataclass | ||
class PropsEvaluatorState: | ||
append_only: bool | ||
|
||
|
||
class ExpressionPropsEvaluator(IdentityTransform): | ||
def eval_fully_async_apply( | ||
self, | ||
expression: expr.FullyAsyncApplyExpression, | ||
props: PropsEvaluatorState | None = None, | ||
**kwargs, | ||
) -> expr.FullyAsyncApplyExpression: | ||
assert props is not None | ||
props.append_only = False | ||
return super().eval_fully_async_apply(expression, props=props, **kwargs) |
Oops, something went wrong.