output_field#
- ValueCounter.output_field(input_schema: Schema) Field | None#
Return the PyArrow
Fieldthis aggregator produces.Returns
Noneby default; subclasses that know their output type override. Used byAggregate.infer_schema()to compute the post-aggregation schema without executing the plan. When any aggregator returnsNone, the entireAggregate.infer_schemareturnsNone(callers fall back to alimit(1)execution).