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 03:48:50 UTC
[incubator-doris] 01/01: Fix spell error (#3255)
This is an automated email from the ASF dual-hosted git repository.
lichaoyong pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
commit d465a8c2815f09b3791d0138475cfe38d3366cc7
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 +-
gensrc/script/gen_build_version.sh | 2 +-
3 files changed, 3 insertions(+), 3 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
diff --git a/gensrc/script/gen_build_version.sh b/gensrc/script/gen_build_version.sh
index 21bb1b8..0b3550b 100755
--- a/gensrc/script/gen_build_version.sh
+++ b/gensrc/script/gen_build_version.sh
@@ -25,7 +25,7 @@
# contains the build version based on the git hash or svn revision.
##############################################################
-build_version="trunk"
+build_version="branch-0.12"
unset LANG
unset LC_CTYPE
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org