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

Head commit for run:
a2495040e3870bf60a38e282243606fba062daab / Matthew Ball <[email protected]>
test(bench): end-to-end columnar-region vs row benchmark over a serialized 
pipeline

Adds a benchmark that measures a whole columnar region, project -> filter -> 
aggregate, against the row path for the same pipeline, with each operator on 
its own worker so the batch crosses a serialized edge between them. It 
exercises the real operators (ProjectionOpExec, SpecializedFilterOpExec, 
AggregateOpExec) and the real Pekko/Kryo serialization, so the numbers reflect 
a cross-worker (cross-node) region, which is where the columnar wire is meant 
to pay off, rather than the per-edge microbenchmark alone.

ColumnarPipelineBenchSpec:
- The row path serializes a DataFrame on each of the three edges 
(source->project, project->filter, filter->aggregate) and runs each operator 
tuple-at-a-time: project maps and re-enforces each tuple, filter runs the 
predicate per tuple, aggregate accumulates per tuple. The source->project edge 
carries the full wide rows (two string payload columns the projection then 
drops), as a real source edge would.
- The columnar path serializes an Arrow ColumnarFrame on each edge and runs 
each operator's processColumnarBatch, staying columnar across all three hops: 
projection moves columns, filter emits the surviving rows, aggregate 
accumulates straight off the Arrow vectors.
- Both reset the aggregate via open() per run, warm up, and report the median 
of several trials for 2k/20k/100k source rows. It is skipped unless run with 
-Dcolumnar.bench=true, so it does not run in CI.

Findings (this machine, JDK 17, median of 7): the columnar region runs end to 
end in about 0.21x the row path at 2k rows, 0.06x at 20k, and 0.05x at 100k 
(roughly 5x, 16x, and 19x faster), the gap widening with batch size. This 
matches the per-edge microbenchmark and the vectorized-operator speedups the 
literature reports: once a run of operators consumes columns natively, keeping 
the batch in Arrow across serialized edges avoids both the per-tuple Kryo 
round-trip and the per-tuple operator work that dominate the row path.

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

With regards,
GitHub Actions via GitBox

Reply via email to