未验证 提交 3d16e6a9 编写于 作者: Y yike21 提交者: GitHub

fix typos: colume -> column (#1176)

Signed-off-by: Nyike21 <yike21@qq.com>
Signed-off-by: Nyike21 <yike21@qq.com>
上级 a057f1f7
......@@ -4124,7 +4124,7 @@ int ObDbmsStats::parse_set_column_stats_options(ObExecContext &ctx,
- AUTO : Oracle determines the columns to collect histograms based on data distribution and the workload of the columns
- SKEWONLY : Oracle determines the columns to collect histograms based on the data distribution of the columns
- column_name : name of a column
- extension : can be either a column group in the format of (column_name, colume_name [, ...]) or an expressionThe default is FOR ALL COLUMNS SIZE AUTO.
- extension : can be either a column group in the format of (column_name, column_name [, ...]) or an expressionThe default is FOR ALL COLUMNS SIZE AUTO.
* @return
*/
int ObDbmsStats::parse_method_opt(sql::ObExecContext &ctx,
......
......@@ -1506,7 +1506,7 @@ int ObTabletReplicaChecksumOperator::set_column_meta_with_hex_str(
} else if (OB_FAIL(hex_to_cstr(hex_str.ptr(), hex_str_len, deserialize_buf, deserialize_size))) {
LOG_WARN("fail to get cstr from hex", KR(ret), K(hex_str_len), K(deserialize_size));
} else if (OB_FAIL(column_meta.deserialize(deserialize_buf, deserialize_size, deserialize_pos))) {
LOG_WARN("fail to deserialize from str to build colume meta", KR(ret), "column_meta_str", hex_str.ptr());
LOG_WARN("fail to deserialize from str to build column meta", KR(ret), "column_meta_str", hex_str.ptr());
} else if (deserialize_pos > deserialize_size) {
ret = OB_SIZE_OVERFLOW;
LOG_WARN("deserialize size overflow", KR(ret), K(deserialize_pos), K(deserialize_size));
......
......@@ -924,7 +924,7 @@ int ObSelectStmtPrinter::print_cte_define_title(TableItem* cte_table)
PRINT_TABLE_NAME(cte_table);
if (OB_ISNULL(cte_table->node_->children_[1]) && (TableItem::RECURSIVE_CTE == cte_table->cte_type_)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("the recursive cte must have the colume definition", K(ret));
LOG_WARN("the recursive cte must have the column definition", K(ret));
} else if (OB_NOT_NULL(cte_table->node_->children_[1])) {
DATA_PRINTF("(");
sub_select_stmt = cte_table->ref_query_;
......
......@@ -15312,7 +15312,7 @@ column is defined as column := column_name | extension name | extension
- AUTO : Oracle determines the columns to collect histograms based on data distribution and the workload of the columns
- SKEWONLY : Oracle determines the columns to collect histograms based on the data distribution of the columns
- column_name : name of a column
- extension : can be either a column group in the format of (column_name, colume_name [, ...]) or an expression
- extension : can be either a column group in the format of (column_name, column_name [, ...]) or an expression
The default is FOR ALL COLUMNS SIZE AUTO.
https://blogs.oracle.com/optimizer/how-does-the-methodopt-parameter-work
******************************************************************************/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册