This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 9becb5a [typo] translate the comments of schema_change.h (#8321)
9becb5a is described below
commit 9becb5a2b7b4fa52649d9e88ab87d0538b143de4
Author: SWJTU-ZhangLei <[email protected]>
AuthorDate: Sat Mar 5 14:41:20 2022 +0800
[typo] translate the comments of schema_change.h (#8321)
translate the comments of be/src/olap/schema_change.h
---
be/src/olap/schema_change.h | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/be/src/olap/schema_change.h b/be/src/olap/schema_change.h
index fc97a7d..2c95a34 100644
--- a/be/src/olap/schema_change.h
+++ b/be/src/olap/schema_change.h
@@ -201,11 +201,12 @@ public:
OLAPStatus process_alter_tablet_v2(const TAlterTabletReqV2& request);
private:
- // 检查schema_change相关的状态:清理"一对"schema_change table间的信息
- // 由于A->B的A的schema_change信息会在后续处理过程中覆盖(这里就没有额外清除)
+
+ // Check the status of schema change and clear information between "a
pair" of Schema change tables
+ // Since A->B's schema_change information for A will be overwritten in
subsequent processing (no extra cleanup here)
// Returns:
- // 成功:如果存在历史信息,没有问题的就清空;或者没有历史信息
- // 失败:否则如果有历史信息且无法清空的(有version还没有完成)
+ // Success: If there is historical information, then clear it if there is
no problem; or no historical information
+ // Failure: otherwise, if there is history information and it cannot be
emptied (version has not been completed)
OLAPStatus _check_and_clear_schema_change_info(TabletSharedPtr tablet,
const TAlterTabletReq&
request);
@@ -239,7 +240,7 @@ private:
const std::unordered_map<std::string, AlterMaterializedViewParam>&
materialized_function_map);
- // 需要新建default_value时的初始化设置
+ // Initialization Settings for creating a default value
static OLAPStatus _init_column_mapping(ColumnMapping* column_mapping,
const TabletColumn& column_schema,
const std::string& value);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]