The GitHub Actions job "Required Checks" on 
texera.git/refactor/csv-scan-todo-cleanup has succeeded.
Run started by GitHub user Ma77Ball (triggered by Ma77Ball).

Head commit for run:
0d396dec3d2661f0acb314c847e06441e8255978 / Matthew Ball <[email protected]>
Pad short CSV rows with Scala Array.fill instead of java streams

ParallelCSVScanSourceOpExec reads a byte-partitioned CSV block and emits a 
tuple per row. When a row omits its trailing fields the parsed array is shorter 
than the schema, so the executor pads it with nulls up to the schema width 
before type inference. That padding built the widened array through 
java.util.stream (Stream.concat of Arrays.stream(fields) with an IntStream of 
nulls); it now appends `Array.fill[AnyRef](width - fields.length)(null)` to the 
existing array, which produces the same result and leaves an already-wide row 
unchanged because Array.fill of a non-positive count is empty. The 
java.util.stream import is dropped since nothing else uses it, and a comment 
states the pad-or-leave behavior.

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

With regards,
GitHub Actions via GitBox

Reply via email to