Ma77Ball opened a new issue, #9542: URL: https://github.com/apache/texera/issues/9542
### Feature Summary Opt-in columnar (Apache Arrow) execution for Amber: operators can exchange and process data as Arrow columns instead of row Tuples, on the edges and operators where that is faster. The feature is off by default (`ApplicationConfig.enableColumnarWire`). When it is disabled the row path is unchanged, and when it is enabled a per-edge planner keeps each edge on whichever format is cheaper, so no workflow regresses. ### Proposed Solution or Design The work lands as a reviewable, stacked series of PRs, each tracked by its own sub-issue, building from the wire contract up to local zero-copy. The feature stays off by default until the whole series is in. - Part 1, Foundation: the `ColumnarOperatorExecutor` / `ColumnarResult` contract, the opt-in `ColumnarFrame` wire, a faster Arrow-to-tuple decode, and vectorized receive for filter and aggregate. - Part 2, Output and per-edge planner: keep columns on output without the row round-trip on one-to-one edges, and decide the wire format per edge from the downstream operator's capability. - Part 3, Shuffle and projection: partition an Arrow batch across workers without decoding to rows, plus a native-Arrow projection operator. - Part 4, Locality-aware edges: keep same-JVM edges on rows, and on a mixed-locality edge send columns only to the remote receivers. - Part 5, Local zero-copy: the `processColumnarRoot` primitive and handing a live Arrow root to a co-located receiver by reference, with a checkpoint-safe serializer. Measured so far (single-JVM serialization simulation, median of 9 trials): cross-node columnar runs 3x to 50x faster at 100k rows on exchange- and projection-heavy workflows, and is near par on small batches and pure local aggregates. A full workflow-matrix benchmark with a correctness parity gate ships with Part 5. A real multi-node benchmark is tracked as follow-up. Design notes and the phased plan live in the discussion linked below. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
