output_field#

Unique.output_field(input_schema: Schema) Field | None#

Return the PyArrow Field this aggregator produces.

Returns None by default; subclasses that know their output type override. Used by Aggregate.infer_schema() to compute the post-aggregation schema without executing the plan. When any aggregator returns None, the entire Aggregate.infer_schema returns None (callers fall back to a limit(1) execution).