File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/query/sql/src/executor Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -618,16 +618,15 @@ fn append_profile_info(
618618 + prof. statistics [ ProfileStatisticsName :: ScanBytesFromLocal as usize ]
619619 + prof. statistics [ ProfileStatisticsName :: ScanBytesFromMemory as usize ] ;
620620
621- let has_scan_bytes = prof. statistics [ ProfileStatisticsName :: ScanBytes as usize ] > 0 ;
622-
623621 for ( stat_name, desc) in get_statistics_desc ( ) . iter ( ) {
624622 let value = prof. statistics [ desc. index ] ;
625623 let always_show = matches ! (
626624 stat_name,
627- ProfileStatisticsName :: ScanBytesFromRemote
625+ ProfileStatisticsName :: ScanBytes
626+ | ProfileStatisticsName :: ScanBytesFromRemote
628627 | ProfileStatisticsName :: ScanBytesFromLocal
629628 | ProfileStatisticsName :: ScanBytesFromMemory
630- ) && has_scan_bytes ;
629+ ) ;
631630
632631 if value == 0 && !always_show {
633632 continue ;
You can’t perform that action at this time.
0 commit comments