You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/14 04:29:22 UTC

[doris] 01/13: [typo](docs) fix schema change DATA_QUALITY_ERROR typo and related error msg (#14773)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 9df9146c68778581f36d1f1e6b46cfc95e5d0f6b
Author: Yulei-Yang <yu...@gmail.com>
AuthorDate: Mon Dec 5 09:50:20 2022 +0800

    [typo](docs) fix schema change DATA_QUALITY_ERROR typo and related error msg (#14773)
---
 be/src/olap/schema_change.cpp                                    | 7 +++----
 docs/en/docs/admin-manual/maint-monitor/be-olap-error-code.md    | 2 +-
 docs/en/docs/advanced/materialized-view.md                       | 2 +-
 docs/zh-CN/docs/admin-manual/maint-monitor/be-olap-error-code.md | 2 +-
 docs/zh-CN/docs/advanced/materialized-view.md                    | 2 +-
 5 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/be/src/olap/schema_change.cpp b/be/src/olap/schema_change.cpp
index 3081b37886..8af54320b2 100644
--- a/be/src/olap/schema_change.cpp
+++ b/be/src/olap/schema_change.cpp
@@ -1440,11 +1440,10 @@ Status SchemaChangeWithSorting::_inner_process(RowsetReaderSharedPtr rowset_read
 
         if (new_row_block == nullptr) {
             if (row_block_arr.empty()) {
-                LOG(WARNING) << "Memory limitation is too small for Schema Change."
+                LOG(WARNING) << "Memory limitation is too small for Schema Change: "
                              << "memory_limitation=" << _memory_limitation
-                             << "You can increase the memory "
-                             << "by changing the "
-                                "Config.memory_limitation_per_thread_for_schema_change_bytes";
+                             << ". You can increase the memory by changing the config: "
+                             << "memory_limitation_per_thread_for_schema_change_bytes";
                 return Status::OLAPInternalError(OLAP_ERR_FETCH_MEMORY_EXCEEDED);
             }
 
diff --git a/docs/en/docs/admin-manual/maint-monitor/be-olap-error-code.md b/docs/en/docs/admin-manual/maint-monitor/be-olap-error-code.md
index f71d7ed65f..c471ece246 100644
--- a/docs/en/docs/admin-manual/maint-monitor/be-olap-error-code.md
+++ b/docs/en/docs/admin-manual/maint-monitor/be-olap-error-code.md
@@ -199,7 +199,7 @@ under the License.
 | OLAP_ERR_PREVIOUS_SCHEMA_CHANGE_NOT_FINISHED | -1603 | The previous schema change is not completed |
 | OLAP_ERR_SCHEMA_CHANGE_INFO_INVALID | -1604 | Schema change information is invalid |
 | OLAP_ERR_QUERY_SPLIT_KEY_ERR | -1605 | Query Split key error |
-| OLAP_ERR_DATA_QUALITY_ERR | -1606 | Errors caused by data quality issues during schema changes/materialized views |
+| OLAP_ERR_DATA_QUALITY_ERROR | -1606 | Errors caused by data quality issues or reach memory limit during schema changes/materialized views |
 | Column File error code | | |
 | OLAP_ERR_COLUMN_DATA_LOAD_BLOCK | -1700 | Error loading column data block |
 | OLAP_ERR_COLUMN_DATA_RECORD_INDEX | -1701 | Load data record index error |
diff --git a/docs/en/docs/advanced/materialized-view.md b/docs/en/docs/advanced/materialized-view.md
index 96ba58735f..d7c84df46f 100644
--- a/docs/en/docs/advanced/materialized-view.md
+++ b/docs/en/docs/advanced/materialized-view.md
@@ -483,7 +483,7 @@ This problem can be solved by creating a materialized view with k3 as the first
 5. For the Unique Key data model, the materialized view can only change the column order and cannot play the role of aggregation. Therefore, in the Unique Key model, it is not possible to perform coarse-grained aggregation operations on the data by creating a materialized view.
 
 ## Error
-1. DATA_QUALITY_ERR: "The data quality does not satisfy, please check your data"
+1. DATA_QUALITY_ERROR: "The data quality does not satisfy, please check your data"
 Materialized view creation failed due to data quality issues or Schema Change memory usage exceeding the limit. If it is a memory problem, increase the `memory_limitation_per_thread_for_schema_change_bytes` parameter.
 Note: The bitmap type only supports positive integers. If there are negative Numbers in the original data, the materialized view will fail to be created
 
diff --git a/docs/zh-CN/docs/admin-manual/maint-monitor/be-olap-error-code.md b/docs/zh-CN/docs/admin-manual/maint-monitor/be-olap-error-code.md
index 94617a08ed..7584c68485 100644
--- a/docs/zh-CN/docs/admin-manual/maint-monitor/be-olap-error-code.md
+++ b/docs/zh-CN/docs/admin-manual/maint-monitor/be-olap-error-code.md
@@ -208,7 +208,7 @@ under the License.
 | OLAP_ERR_PREVIOUS_SCHEMA_CHANGE_NOT_FINISHED     | -1603  | 先前的Schema更改未完成                                       |
 | OLAP_ERR_SCHEMA_CHANGE_INFO_INVALID              | -1604  | Schema变更信息无效                                           |
 | OLAP_ERR_QUERY_SPLIT_KEY_ERR                     | -1605  | 查询 Split key 错误                                          |
-| OLAP_ERR_DATA_QUALITY_ERR                        | -1606  | 模式更改/物化视图期间数据质量问题导致的错误                  |
+| OLAP_ERR_DATA_QUALITY_ERROR                      | -1606  | 模式更改/物化视图期间因数据质量问题或内存使用超出限制导致的错误                  |
 | Column File错误代码                              |        |                                                              |
 | OLAP_ERR_COLUMN_DATA_LOAD_BLOCK                  | -1700  | 加载列数据块错误                                             |
 | OLAP_ERR_COLUMN_DATA_RECORD_INDEX                | -1701  | 加载数据记录索引错误                                         |
diff --git a/docs/zh-CN/docs/advanced/materialized-view.md b/docs/zh-CN/docs/advanced/materialized-view.md
index 4d269da531..0be6bc03bf 100644
--- a/docs/zh-CN/docs/advanced/materialized-view.md
+++ b/docs/zh-CN/docs/advanced/materialized-view.md
@@ -481,7 +481,7 @@ MySQL [test]> desc advertiser_view_record;
 
    ## 异常错误
 
-   1. DATA_QUALITY_ERR: "The data quality does not satisfy, please check your data" 由于数据质量问题或者Schema Change内存使用超出限制导致物化视图创建失败。如果是内存问题,调大`memory_limitation_per_thread_for_schema_change_bytes`参数即可。 注意:bitmap类型仅支持正整型, 如果原始数据中存在负数,会导致物化视图创建失败
+   1. DATA_QUALITY_ERROR: "The data quality does not satisfy, please check your data" 由于数据质量问题或者Schema Change内存使用超出限制导致物化视图创建失败。如果是内存问题,调大`memory_limitation_per_thread_for_schema_change_bytes`参数即可。 注意:bitmap类型仅支持正整型, 如果原始数据中存在负数,会导致物化视图创建失败
 
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org