fix typo
This commit is contained in:
@ -152,7 +152,7 @@ int ObLogTableScan::get_op_exprs(ObIArray<ObRawExpr*> &all_exprs)
|
|||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
LOG_WARN("get unexpected null", K(ret));
|
LOG_WARN("get unexpected null", K(ret));
|
||||||
} else if (OB_FAIL(generate_access_exprs())) {
|
} else if (OB_FAIL(generate_access_exprs())) {
|
||||||
LOG_WARN("failed to generate acess exprs", K(ret));
|
LOG_WARN("failed to generate access exprs", K(ret));
|
||||||
} else if (NULL != limit_count_expr_ &&
|
} else if (NULL != limit_count_expr_ &&
|
||||||
OB_FAIL(all_exprs.push_back(limit_count_expr_))) {
|
OB_FAIL(all_exprs.push_back(limit_count_expr_))) {
|
||||||
LOG_WARN("failed to push back expr", K(ret));
|
LOG_WARN("failed to push back expr", K(ret));
|
||||||
@ -317,7 +317,7 @@ int ObLogTableScan::copy_filter_before_index_back()
|
|||||||
} else {
|
} else {
|
||||||
bool is_contain_vir_gen_column = false;
|
bool is_contain_vir_gen_column = false;
|
||||||
// ObArray<ObRawExpr *> column_exprs;
|
// ObArray<ObRawExpr *> column_exprs;
|
||||||
// scan_pushdown before index back conculde virtual generated column
|
// scan_pushdown before index back conclude virtual generated column
|
||||||
// need copy for avoiding shared expression.
|
// need copy for avoiding shared expression.
|
||||||
if (OB_FAIL(ObRawExprUtils::contain_virtual_generated_column(filters.at(i), is_contain_vir_gen_column))) {
|
if (OB_FAIL(ObRawExprUtils::contain_virtual_generated_column(filters.at(i), is_contain_vir_gen_column))) {
|
||||||
LOG_WARN("fail to contain virtual gen column", K(ret));
|
LOG_WARN("fail to contain virtual gen column", K(ret));
|
||||||
@ -1836,7 +1836,7 @@ int ObLogTableScan::print_used_hint(PlanText &plan_text)
|
|||||||
} else if (!is_skip_scan() && T_INDEX_SS_HINT == hint->get_hint_type()) {
|
} else if (!is_skip_scan() && T_INDEX_SS_HINT == hint->get_hint_type()) {
|
||||||
/* is not index skip scan but exist index_ss hint */
|
/* is not index skip scan but exist index_ss hint */
|
||||||
} else if (OB_FAIL(hint->print_hint(plan_text))) {
|
} else if (OB_FAIL(hint->print_hint(plan_text))) {
|
||||||
LOG_WARN("failed to print indedx hint", K(ret), K(*hint));
|
LOG_WARN("failed to print index hint", K(ret), K(*hint));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {// print all no index
|
} else {// print all no index
|
||||||
@ -1847,7 +1847,7 @@ int ObLogTableScan::print_used_hint(PlanText &plan_text)
|
|||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
LOG_WARN("unexpected NULL", K(ret), K(hint));
|
LOG_WARN("unexpected NULL", K(ret), K(hint));
|
||||||
} else if (OB_FAIL(hint->print_hint(plan_text))) {
|
} else if (OB_FAIL(hint->print_hint(plan_text))) {
|
||||||
LOG_WARN("failed to print indedx hint", K(ret), K(*hint));
|
LOG_WARN("failed to print index hint", K(ret), K(*hint));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -86,7 +86,7 @@ double ObTableMetaInfo::get_micro_block_numbers() const
|
|||||||
{
|
{
|
||||||
double ret = 0.0;
|
double ret = 0.0;
|
||||||
if (micro_block_count_ <= 0) {
|
if (micro_block_count_ <= 0) {
|
||||||
// calculate micore block count use storage statistics
|
// calculate micro block count use storage statistics
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else {
|
} else {
|
||||||
// get micro block count from optimizer statistics
|
// get micro block count from optimizer statistics
|
||||||
@ -1399,7 +1399,7 @@ int ObOptEstCostModel::cost_table_get_one_batch(const ObCostTableScanInfo &est_c
|
|||||||
OB_FAIL(cost_table_lookup_rpc(index_back_row_count,
|
OB_FAIL(cost_table_lookup_rpc(index_back_row_count,
|
||||||
est_cost_info,
|
est_cost_info,
|
||||||
network_cost))) {
|
network_cost))) {
|
||||||
LOG_WARN("failed to get newwork transform cost for global index", K(ret));
|
LOG_WARN("failed to get network transform cost for global index", K(ret));
|
||||||
} else {
|
} else {
|
||||||
get_cost = base_cost + ib_cost + network_cost;
|
get_cost = base_cost + ib_cost + network_cost;
|
||||||
get_index_back_cost = ib_cost + network_cost;
|
get_index_back_cost = ib_cost + network_cost;
|
||||||
|
|||||||
@ -155,7 +155,7 @@ private:
|
|||||||
uint64_t &convertable_map,
|
uint64_t &convertable_map,
|
||||||
int64_t pos);
|
int64_t pos);
|
||||||
// 1, find common prefix length of strings
|
// 1, find common prefix length of strings
|
||||||
// 2, find dynamix base and offset of strings
|
// 2, find dynamic base and offset of strings
|
||||||
// 3, use dynamic base and offset to convert strings to scalars
|
// 3, use dynamic base and offset to convert strings to scalars
|
||||||
static int convert_strings_to_scalar(const common::ObIArray<common::ObString> &origin_strs,
|
static int convert_strings_to_scalar(const common::ObIArray<common::ObString> &origin_strs,
|
||||||
common::ObIArray<double> &scalars);
|
common::ObIArray<double> &scalars);
|
||||||
|
|||||||
Reference in New Issue
Block a user