pyarrow.gandiva.make_projector

pyarrow.gandiva.make_projector(Schema schema, children, MemoryPool pool, unicode selection_mode=u'NONE')

Create a Projector.

Parameters
  • schema (pyarrow.Schema) – Schema of record batches the projector will be evaluated on

  • children (Iterable[Expression]) – Expressions to project into a record batches

  • pool (pyarrow.MemoryPool) – Memory pool to use. Typically will use pyarrow.default_memory_pool().

  • selection_mode ('NONE', 'UINT16', 'UINT32', 'UINT64') – Mode of selection vector to use if filtering when evaluating projections.

Returns

Projector