HashGroupingOperator has been updated to close inbound pages. Ordinals needs to do similar.
x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/OrdinalsGroupingOperator.java
return new OrdinalsGroupingOperator(sources, docChannel, groupingField, aggregators, maxPageSize, bigArrays, driverContext);
        }
        @Override
        public String describe() {
            return "OrdinalsGroupingOperator(aggs = " + aggregators.stream().map(Describable::describe).collect(joining(", ")) + ")";
        }
    }
    private final List<ValueSourceInfo> sources;
    private final int docChannel;
    private final String groupingField;
    private final List<Factory> aggregatorFactories;
    private final Map<SegmentID, OrdinalSegmentAggregator> ordinalAggregators;
    private final BigArrays bigArrays;
    private final DriverContext driverContext;
    private boolean finished = false;
    
    private final int maxPageSize;
    private ValuesAggregator valuesAggregator;
    public OrdinalsGroupingOperator(
        List<ValueSourceInfo> sources,
        int docChannel,
        String groupingField,
        List<GroupingAggregator.Factory> aggregatorFactories,
        int maxPageSize,
        BigArrays bigArrays,
        DriverContext driverContext
    ) {
        Objects.requireNonNull(aggregatorFactories);
        boolean bytesValues = sources.get(0).source() instanceof ValuesSource.Bytes;
        for (int i = 1; i < sources.size(); i++) {