The GitHub Actions job "Required Checks" on 
texera.git/columnar/02-output-planner has succeeded.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
ad8fe4f8fa1ca880d0dcfc0ad424e234c784adb9 / Matthew Ball <[email protected]>
feat(engine): decide the columnar wire per edge from the downstream operator

The columnar wire is no longer a single global flag that flips every edge at 
once. The planner now decides it per link, and an edge ships Arrow only when 
the downstream operator can consume columns natively. This stops the worst case 
of the blanket switch, shipping Arrow to a row-only operator that then pays a 
per-tuple decode, and is the capability half of the per-edge design (phase 2). 
Locality (a same-JVM link gains nothing from serializing) is a later 
refinement; worker placement is not modeled at planning time and actor refs 
resolve lazily, so this change keeps that axis out.

Operator capability (PhysicalOp):
- isColumnarCapable resolves, by name and without loading or instantiating the 
class, whether the operator's executor mixes in ColumnarOperatorExecutor. Any 
lookup miss (a code-based or unknown executor) is not capable. This 
auto-discovers every columnar operator (filter, aggregate, and future ones) 
with no per-operator registration.

Planner decision (ResourceAllocator, LinkConfig):
- allocate sets LinkConfig.columnar = ApplicationConfig.enableColumnarWire && 
the downstream operator isColumnarCapable, for each link. The global flag is 
now a master switch folded into the per-edge decision rather than a second 
source of truth.

Threading to the sender (proto + handlers):
- AddPartitioningRequest gains a columnar bool. LinkWorkersHandler fills it 
from the link's LinkConfig; the worker's AddPartitioningHandler passes it to 
OutputManager.addPartitionerWithPartitioning, which constructs that edge's 
NetworkOutputBuffers in columnar mode. NetworkOutputBuffer.columnar now 
defaults to false (the planner is the authority) instead of reading 
ApplicationConfig.enableColumnarWire itself.

Tests:
- PhysicalOpSpec: isColumnarCapable holds for an executor that implements 
ColumnarOperatorExecutor, and not for a plain executor, a code-based executor, 
or an unresolvable class name.
- OutputManagerSpec: addPartitionerWithPartitioning builds columnar buffers 
when told to (a flushed batch goes out as a ColumnarFrame) and row buffers by 
default (a DataFrame).
- The AddPartitioningRequest constructions in WorkerSpec, LoggingSpec, and 
ArrowFlightActorBench pass columnar = false for the new field.

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

With regards,
GitHub Actions via GitBox

Reply via email to