Ma77Ball opened a new pull request, #9549:
URL: https://github.com/apache/texera/pull/9549

   ### What changes were proposed in this PR?
   - Add the `ColumnarOperatorExecutor` / `ColumnarResult` contract so an 
operator can opt into reading Arrow columns directly; when an operator cannot, 
the engine decodes to rows, so results never differ.
   - Add the opt-in `ColumnarFrame` wire (a batch of Arrow columns alongside 
the row `DataFrame`), gated by `ApplicationConfig.enableColumnarWire` and off 
by default.
   - Speed up the Arrow-to-tuple decode by resolving the Texera schema once per 
batch instead of rebuilding it per row.
   - Add vectorized receive in `DataProcessor` so a capable filter or aggregate 
reads the Arrow columns directly instead of decoding to tuples.
   ### Any related issues, documentation, discussions?
   Closes: #9547
   Part of: #9542
   Discussion: #8571
   ### How was this PR tested?
   - Run `sbt "WorkflowCore/testOnly *ArrowUtilsSpec"`, expect the Arrow 
round-trip and faster-decode specs to pass with values identical to the row 
decode.
   - Run `sbt "WorkflowExecutionService/testOnly *DataProcessorSpec 
*OutputManagerSpec"`, expect the columnar-frame routing and vectorized-receive 
cases to pass.
   - Manual: set `enableColumnarWire=true` in 
`common/config/src/main/resources/application.conf`, run a CSV scan into a 
filter at http://texera.localhost, and confirm the output rows are identical to 
a run with the flag off.
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 (Anthropic) in compliance with ASF policy.
   


-- 
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]

Reply via email to