The GitHub Actions job "Required Checks" on texera.git/feat/loop-message-ids 
has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
f65eb4a6560473265e5c9d0e1704645ccee95036 / Xinyuan Lin <[email protected]>
feat(amber): add state message ids; Loop End collects them

A state message gets an id before its copies are made, on both engines,
and every copy keeps it: across downstream channels, the Arrow hop
between JVM and Python workers and the materialized state row, which
gains a message_id column. A worker processes the first copy of an id
and drops every later copy before registering it, running process_state
or forwarding it, so branches that meet again no longer run user code
once per branch. An operator that sends a state on unchanged keeps its
id; a changed state, or one produced at start or finish, is a new
message. Entering or leaving an inner loop keeps the id.

Loop End now collects every distinct message of its own loop until its
input ends, a later value replacing an earlier one, instead of keeping
only Loop Start's state and forwarding the rest out of the block. A
value a body operator publishes therefore reaches update() and the
condition, and a late copy of an earlier message cannot undo it. For
the next iteration Loop End saves only the loop's own variables: the
names its stamped state carried and every name update() assigns, read
from its code, not a name that only a publication carried.

State's JSON keeps null values, so a variable set to None survives a
JVM operator in the loop body, as it does in Python.

Report URL: https://github.com/apache/texera/actions/runs/42465466454

With regards,
GitHub Actions via GitBox

Reply via email to