Fix spell error (#3255)

This commit is contained in:
lichaoyong
2020-04-03 10:43:09 +08:00
committed by GitHub
parent fcb651329c
commit 881661ac10
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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