You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by li...@apache.org on 2020/04/03 02:43:15 UTC
[incubator-doris] branch master updated: Fix spell error (#3255)
This is an automated email from the ASF dual-hosted git repository.
lingmiao 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 881661a Fix spell error (#3255)
881661a is described below
commit 881661ac10f5f809dfb0b2fa2cfda116fdfcd7fe
Author: lichaoyong <li...@baidu.com>
AuthorDate: Fri Apr 3 10:43:09 2020 +0800
Fix spell error (#3255)
---
be/src/common/config.h | 2 +-
be/src/olap/rowset/column_writer.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/common/config.h b/be/src/common/config.h
index 2c7aa0d..78fd9b3 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -190,7 +190,7 @@ namespace config {
// push_write_mbytes_per_sec
CONF_Int32(push_write_mbytes_per_sec, "10");
- CONF_Int64(column_dictionary_key_ration_threshold, "0");
+ CONF_Int64(column_dictionary_key_ratio_threshold, "0");
CONF_Int64(column_dictionary_key_size_threshold, "0");
// if true, output IR after optimization passes
CONF_Bool(dump_ir, "false");
diff --git a/be/src/olap/rowset/column_writer.cpp b/be/src/olap/rowset/column_writer.cpp
index 4d3e577..7551116 100755
--- a/be/src/olap/rowset/column_writer.cpp
+++ b/be/src/olap/rowset/column_writer.cpp
@@ -695,7 +695,7 @@ OLAPStatus VarStringColumnWriter::_finalize_direct_encoding() {
OLAPStatus VarStringColumnWriter::finalize(ColumnDataHeaderMessage* header) {
OLAPStatus res = OLAP_SUCCESS;
- uint64_t ratio_threshold = config::column_dictionary_key_ration_threshold;
+ uint64_t ratio_threshold = config::column_dictionary_key_ratio_threshold;
uint64_t size_threshold = config::column_dictionary_key_size_threshold;
// the dictionary condition:1 key size < size threshold; 2 key ratio < ratio threshold
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org