diff --git a/dbms/src/Flash/Statistics/TableScanImpl.cpp b/dbms/src/Flash/Statistics/TableScanImpl.cpp index 9d301b69db8..a1f011de695 100644 --- a/dbms/src/Flash/Statistics/TableScanImpl.cpp +++ b/dbms/src/Flash/Statistics/TableScanImpl.cpp @@ -55,7 +55,7 @@ void TableScanStatistics::collectExtraRuntimeDetail() { auto * p_stream = dynamic_cast(io_stream.get()); assert(p_stream); - cop_table_scan_detail.bytes += p_stream->getProfileInfo().bytes; + local_table_scan_detail.bytes += p_stream->getProfileInfo().bytes; } } }