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 <lichaoy...@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-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org