diff --git a/src/sql/optimizer/ob_log_table_scan.cpp b/src/sql/optimizer/ob_log_table_scan.cpp index 007db0ce04..486b42772a 100644 --- a/src/sql/optimizer/ob_log_table_scan.cpp +++ b/src/sql/optimizer/ob_log_table_scan.cpp @@ -152,7 +152,7 @@ int ObLogTableScan::get_op_exprs(ObIArray &all_exprs) ret = OB_ERR_UNEXPECTED; LOG_WARN("get unexpected null", K(ret)); } 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_ && OB_FAIL(all_exprs.push_back(limit_count_expr_))) { LOG_WARN("failed to push back expr", K(ret)); @@ -317,7 +317,7 @@ int ObLogTableScan::copy_filter_before_index_back() } else { bool is_contain_vir_gen_column = false; // ObArray 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. 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)); @@ -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()) { /* is not index skip scan but exist index_ss hint */ } 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 @@ -1847,7 +1847,7 @@ int ObLogTableScan::print_used_hint(PlanText &plan_text) ret = OB_ERR_UNEXPECTED; LOG_WARN("unexpected NULL", K(ret), K(hint)); } 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)); } } } diff --git a/src/sql/optimizer/ob_opt_est_cost_model.cpp b/src/sql/optimizer/ob_opt_est_cost_model.cpp index f2beaef485..ac2bdb26aa 100644 --- a/src/sql/optimizer/ob_opt_est_cost_model.cpp +++ b/src/sql/optimizer/ob_opt_est_cost_model.cpp @@ -86,7 +86,7 @@ double ObTableMetaInfo::get_micro_block_numbers() const { double ret = 0.0; if (micro_block_count_ <= 0) { - // calculate micore block count use storage statistics + // calculate micro block count use storage statistics ret = 0; } else { // 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, est_cost_info, 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 { get_cost = base_cost + ib_cost + network_cost; get_index_back_cost = ib_cost + network_cost; diff --git a/src/sql/optimizer/ob_opt_est_utils.h b/src/sql/optimizer/ob_opt_est_utils.h index 6701cd8bb1..cc36776269 100644 --- a/src/sql/optimizer/ob_opt_est_utils.h +++ b/src/sql/optimizer/ob_opt_est_utils.h @@ -155,7 +155,7 @@ private: uint64_t &convertable_map, int64_t pos); // 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 static int convert_strings_to_scalar(const common::ObIArray &origin_strs, common::ObIArray &scalars);