The GitHub Actions job "Required Checks" on texera.git/columnar/04-locality has 
failed.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
f6dc5fbf9139305734fcf99d7560462328229589 / Matthew Ball <[email protected]>
feat(engine): per-receiver columnar on a mixed-locality edge, no decode for 
remote buckets

A shuffle whose receivers are split across the local node and remote nodes no 
longer gives up the columnar fast path for the whole edge. The output path now 
decides per receiver: a remote receiver gets its bucket as Arrow with no tuple 
decode, while a local receiver gets its bucket as rows (delivered by reference, 
which is free). Previously a mixed-locality edge fell back entirely to the row 
path, so the remote buckets paid a decode plus re-encode; now only the local 
buckets are decoded, and only their own rows.

OutputManager:
- tryEmitColumnarBatch takes the fast path when at least one receiver is 
remote-columnar (rather than requiring all of them). It still declines when no 
receiver is columnar (all local, or the wire is off) so the caller decodes once 
and uses the row path, and when the port needs storage or the schema does not 
match.
- emitColumnarToLink sends each receiver its data in the right shape. For a 
one-to-one or broadcast edge it serializes the batch to Arrow once for the 
remote receivers and decodes it to rows once for the local ones. For a 
splitting shuffle it assigns buckets as before (through the same getBucketIndex 
the row path uses) and then, per bucket, calls sendBucket.
- sendBucket ships a bucket as Arrow (gather + ColumnarFrame) when the 
receiver's buffer is columnar, or decodes just that bucket's rows 
(getTexeraTuple per row) and sends them as a DataFrame when it is local.

NetworkOutputBuffer:
- sendRows is the row counterpart of sendColumnarFrame: it flushes any buffered 
tuples, then ships a prebuilt DataFrame straight to the receiver, so a local 
receiver on a mixed edge gets rows in FIFO order alongside the Arrow sent to 
remote receivers.

Tests:
- OutputManagerSpec: on a mixed-locality hash shuffle the fast path ships 
DataFrames to the local receiver and ColumnarFrames to the remote one, and each 
receiver holds exactly the rows the row partitioner assigns, with nothing lost. 
The earlier all-local (declines) and fully-remote (fast path) cases still hold.

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

With regards,
GitHub Actions via GitBox

Reply via email to