[FEAT MERGE]logical plan move to plan cache module add feedback into to plan

This commit is contained in:
zzg19950727
2023-04-18 11:41:58 +00:00
committed by ob-robot
parent e392fc2a37
commit 8daff3e658
122 changed files with 45692 additions and 43707 deletions

View File

@ -35,9 +35,7 @@ enum RowCountEstMethod
INVALID_METHOD = 0,
DEFAULT_STAT,
BASIC_STAT, //use min/max/ndv to estimate row count
HISTOGRAM, //place holder
LOCAL_STORAGE, //use local storage layer to estimate row count
REMOTE_STORAGE //use remote storage layer to estimate row count
STORAGE_STAT, //use storage layer to estimate row count
};
// all the table meta info need to compute cost
@ -970,10 +968,6 @@ protected:
double row_count,
double &cost);
// estimate cost for virtual table
int cost_virtual_table(ObCostTableScanInfo &est_cost_info,
double &cost);
// estimate cost for non-virtual table
int cost_normal_table(ObCostTableScanInfo &est_cost_info,
int64_t parallel,