diff --git a/be/src/common/config.h b/be/src/common/config.h index 2c7aa0dc2b..78fd9b32e2 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 4d3e577c76..755111600c 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