Fix bug in numRowsScanned

This commit is contained in:
Justin Borromeo 2019-03-25 15:57:55 -07:00
parent da4fc66403
commit 219af478c8
1 changed files with 1 additions and 1 deletions

View File

@ -259,9 +259,9 @@ public class ScanQueryRunnerFactory implements QueryRunnerFactory<ScanResultValu
Interval finalInterval = null;
while (!doneScanning) {
ScanResultValue next = yielder.get();
numRowsScanned++;
List<ScanResultValue> singleEventScanResultValues = next.toSingleEventScanResultValues();
for (ScanResultValue srv : singleEventScanResultValues) {
numRowsScanned++;
// Using an intermediate unbatched ScanResultValue is not that great memory-wise, but the column list
// needs to be preserved for queries using the compactedList result format
q.offer(srv);