[improvement](lateral-view) Add number rows filtered in profile (#8251)

Add `RowsFiltered` counter in TableFunctionNode profile.
So that we can know the total number of rows that TableFunctionNode processed
This commit is contained in:
Mingyu Chen
2022-03-01 11:04:57 +08:00
committed by GitHub
parent 01365f1a1d
commit e77e2b0bf0
6 changed files with 29 additions and 2 deletions

View File

@ -74,6 +74,9 @@ private:
std::vector<int> _child_slot_sizes;
// indicate if child node reach the end
bool _child_eos = false;
RuntimeProfile::Counter* _num_rows_filtered_counter = nullptr;
uint64_t _num_rows_filtered = 0;
};
}; // namespace doris