This commit is contained in:
chenhuiming
2022-04-15 08:00:00 +08:00
parent cfe66b7422
commit adc19fc564
4 changed files with 9 additions and 9 deletions

View File

@ -957,7 +957,7 @@ int ObLogJoin::allocate_granule_post(AllocGIContext &ctx)
// 并且 nlj 向左支 request 一个 part id
// 通知 GI 在迭代 partition granule 时进入 partition pruning 模式
if (OB_FAIL(build_gi_partition_pruning())) {
LOG_WARN("fail deterimine right child partition id", K(ret));
LOG_WARN("fail determine right child partition id", K(ret));
}
}
return ret;

View File

@ -105,7 +105,7 @@ int ObLogTopk::est_cost()
if (OB_ISNULL(child = get_child(first_child)) || OB_ISNULL(get_stmt()) ||
OB_ISNULL(get_plan())) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpeced null", K(child), K(get_stmt()), K(get_plan()),K(ret));
LOG_WARN("get unexpected null", K(child), K(get_stmt()), K(get_plan()),K(ret));
} else if (OB_UNLIKELY((parallel = get_parallel()) < 1)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get unexpected parallel degree", K(ret));

View File

@ -56,7 +56,7 @@ namespace sql
*/
PROJECT_PRUNING,
/**
* Exchange allocation is also known as parallel optimzation. Though there
* Exchange allocation is also known as parallel optimization. Though there
* are multiple possible optimization that can happen in this step, at the
* moment we just perform simple check on table location and insert pairs of
* exchange nodes at places where data exchange needs to happen(local

View File

@ -279,7 +279,7 @@ int ObRawExprPrinter::print(ObConstRawExpr *expr)
}
} else if (expr->get_expr_type() == T_DATE &&
OB_FAIL(databuff_printf(buf_, buf_len_, *pos_, "date "))) {
LOG_WARN("fail to print date strign", K(ret));
LOG_WARN("fail to print date string", K(ret));
} else if (T_BOOL == expr->get_expr_type()) {
/**
* For SQL like "select * from T1 where C1 = 1 and C1 = 2",
@ -562,10 +562,10 @@ int ObRawExprPrinter::print(ObOpRawExpr *expr)
case T_OP_NE:
case T_OP_SQ_NE:
SET_SYMBOL_IF_EMPTY("<>");
case T_OP_IN: // in sub-query wille be rewrited as expr = ANY(sub-query)
case T_OP_IN: // in sub-query will be rewrited as expr = ANY(sub-query)
SET_SYMBOL_IF_EMPTY("in");
case T_OP_NOT_IN:
SET_SYMBOL_IF_EMPTY("not in"); // not in sub-query wille be rewrited as expr != all(sub-query)
SET_SYMBOL_IF_EMPTY("not in"); // not in sub-query will be rewrited as expr != all(sub-query)
case T_OP_BIT_OR:
SET_SYMBOL_IF_EMPTY("|");
case T_OP_BIT_XOR:
@ -2853,7 +2853,7 @@ int ObRawExprPrinter::print(ObSysFunRawExpr *expr)
PRINT_IDENT_WITH_QUOT(seq_expr->get_action());
} else {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("sequence should sepcify format as seqname.action", K(ret));
LOG_WARN("sequence should specify format as seqname.action", K(ret));
}
if (OB_SUCC(ret) && seq_expr->is_dblink_sys_func()) {
DATA_PRINTF("@%.*s", LEN_AND_PTR(seq_expr->get_dblink_name()));
@ -3248,7 +3248,7 @@ int ObRawExprPrinter::print(ObUDFRawExpr *expr)
if (params_type.at(i).is_null()) { // default parameter, do not print
// do nothing ...
} else if (0 == i && expr->get_is_udt_cons()) {
// do not print construnct null self argument
// do not print construct null self argument
} else {
if (!params_name.at(i).empty()) {
PRINT_IDENT_WITH_QUOT(params_name.at(i));
@ -3769,7 +3769,7 @@ int ObRawExprPrinter::print_partition_exprs(ObWinFunRawExpr *expr)
for (int64_t i = 0; OB_SUCC(ret) && i < N; ++i) {
if (OB_ISNULL(expr->get_partition_exprs().at(i))) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("failed to get partiton by exprs.", K(ret));
LOG_WARN("failed to get partition by exprs.", K(ret));
} else {
PRINT_EXPR(expr->get_partition_exprs().at(i));
if (i < N - 1) {