[FEAT MERGE] [CP] Improve the rowcount estimation

Co-authored-by: akaError <lzg020616@163.com>
This commit is contained in:
xianyu-w
2024-02-09 19:58:18 +00:00
committed by ob-robot
parent da232dc640
commit dc32079645
70 changed files with 5953 additions and 3722 deletions

View File

@ -4726,7 +4726,7 @@ int ObStaticEngineCG::generate_normal_tsc(ObLogTableScan &op, ObTableScanSpec &s
spec.output_row_count_ = static_cast<int64_t>(op.get_output_row_count());
spec.query_range_row_count_ = static_cast<int64_t>(op.get_logical_query_range_row_count());
spec.index_back_row_count_ = static_cast<int64_t>(op.get_index_back_row_count());
spec.estimate_method_ = op.get_estimate_method();
spec.estimate_method_ = INVALID_METHOD;
spec.table_name_ = tbl_name;
spec.index_name_ = index_name;
// das path not under gi control (TODO: separate gi_above flag from das tsc spec)