This is an automated email from the ASF dual-hosted git repository.

xikai pushed a commit to branch memtable-poc
in repository https://gitbox.apache.org/repos/asf/incubator-horaedb.git

commit 73546ee00cb1e78ec2e069d6b5c4a8d991da3ad1
Author: jiacai2050 <[email protected]>
AuthorDate: Mon Dec 25 13:45:46 2023 +0800

    lower dict ratio
---
 analytic_engine/src/sst/parquet/writer.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/analytic_engine/src/sst/parquet/writer.rs 
b/analytic_engine/src/sst/parquet/writer.rs
index d44dffc1..856e954c 100644
--- a/analytic_engine/src/sst/parquet/writer.rs
+++ b/analytic_engine/src/sst/parquet/writer.rs
@@ -58,7 +58,7 @@ const MIN_NUM_ROWS_SAMPLE_DICT_ENCODING: usize = 1024;
 /// If the number of unique value exceeds
 /// `total_num_values * MAX_UNIQUE_VALUE_RATIO_DICT_ENCODING`, there is no need
 /// to do dictionary encoding for such column.
-const MAX_UNIQUE_VALUE_RATIO_DICT_ENCODING: f64 = 0.12;
+const MAX_UNIQUE_VALUE_RATIO_DICT_ENCODING: f64 = 0.003;
 
 /// The implementation of sst based on parquet and object storage.
 #[derive(Debug)]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to