diff --git a/velox/exec/Driver.cpp b/velox/exec/Driver.cpp index 9a6a4740ddd8..9425c25d6d93 100644 --- a/velox/exec/Driver.cpp +++ b/velox/exec/Driver.cpp @@ -615,7 +615,7 @@ StopReason Driver::runInternal( }); pushdownFilters(i); if (intermediateResult) { - withDeltaCpuWallTimer(op, &OperatorStats::addInputTiming, [&]() { + withDeltaCpuWallTimer(nextOp, &OperatorStats::addInputTiming, [&]() { { auto lockedStats = nextOp->stats().wlock(); lockedStats->addInputVector(