presto-main/src/main/java/io/prestosql/operator/aggregation/AbstractMinMaxAggregationFunction.java/AbstractMinMaxAggregationFunction/minInput
class AbstractMinMaxAggregationFunction:    @UsedByGeneratedCode
    public static void minInput(Type type, BlockPositionState state, Block block, int position)
    {
        if (state.getBlock() == null || type.compareTo(block, position, state.getBlock(), state.getPosition()) < 0) {
            state.setBlock(block);
            state.setPosition(position);
        }
    }