From 686cf1e6bf9bb4a57a91aff2542b4a489cfbae36 Mon Sep 17 00:00:00 2001 From: Leonid Chistov Date: Wed, 25 Dec 2024 17:12:09 +0300 Subject: [PATCH] Fix operator addInput stats collection --- velox/exec/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(