docs: private void runWithCardinalityUnknown(
        Parameters params,
        TopNResultBuilder resultBuilder,
        @Nullable TopNQueryMetrics queryMetrics
    )
    {
      DimValAggregateStore aggregatesStore = makeDimValAggregateStore(params);
      if (queryMetrics != null) {
        queryMetrics.startRecordingScanTime();
      }
      long processedRows = scanAndAggregate(params, null, aggregatesStore);
      updateResults(params, null, aggregatesStore, resultBuilder);
      closeAggregators(aggregatesStore);
      params.getCursor().reset();
      if (queryMetrics != null) {
        queryMetrics.addProcessedRows(processedRows);
        queryMetrics.stopRecordingScanTime();
      }
    }