Applies an aggregation that gives the current element with the maximize value at the
given position by the given key. An independent aggregate is kept per key.
If more elements have the maximize value at the given position,
the operator returns the first one by default.
position_to_max_by – The field position in the data points to maximize. The type can
be int (field position) or str (field name). This is applicable
to Tuple types, List types, Row types, and basic types (which is
considered as having one field).