Expose RuntimeStats for ScanFilterAndProjectOperator
This is required to expose the ConnectorPageSource RuntimeStats for the
queries using ScanFilterAndProjectOperator. Previous implementation only
exposed the RuntimeStats for TableScanOperator.
@@ -341,6 +341,7 @@ public class ScanFilterAndProjectOperator
long positionCount = endCompletedPositions - completedPositions;
operatorContext.recordProcessedInput(inputBytes, positionCount);
operatorContext.recordRawInputWithTiming(inputBytes, positionCount, endReadTimeNanos - readTimeNanos);
+ operatorContext.updateStats(pageSource.getRuntimeStats());
completedBytes = endCompletedBytes;
completedPositions = endCompletedPositions;
readTimeNanos = endReadTimeNanos;
