ColumnarBatch
ColumnarBatch is…FIXME
ColumnarBatch is created when:
-
InMemoryTableScanExecis requested to createAndDecompressColumn -
VectorizedParquetRecordReaderis requested to initBatch -
OrcColumnarBatchReaderis requested toinitBatch -
ColumnVectorUtilsis requested totoBatch -
ArrowPythonRunneris requested for aIterator[ColumnarBatch](i.e.newReaderIterator) -
ArrowConvertersis requested for aArrowRowIterator(i.e.fromPayloadIterator)
|
Note
|
In other words, using the contract is as treading on thin ice. |
ColumnarBatch takes an array of ColumnVectors when created. ColumnarBatch initializes the internal MutableColumnarRow.
| Name | Description |
|---|---|
|
Number of rows |
|
|
|
spark技术分享