gavinchou commented on code in PR #59967: URL: https://github.com/apache/doris/pull/59967#discussion_r2722131627
########## be/src/common/config.cpp: ########## @@ -434,6 +434,14 @@ DEFINE_mInt32(vertical_compaction_num_columns_per_group, "5"); DEFINE_Int32(vertical_compaction_max_row_source_memory_mb, "1024"); // In vertical compaction, max dest segment file size DEFINE_mInt64(vertical_compaction_max_segment_size, "1073741824"); +// Density threshold for sparse column compaction optimization +// density = (total_cells - null_cells) / total_cells, smaller means more sparse +// When density <= threshold, enable sparse optimization +// 0 = disable optimization, 1 = always enable +// Default 0.05 means enable sparse optimization when desity <= 5% +DEFINE_mDouble(sparse_column_compaction_threshold, "0.05"); Review Comment: naming `sparse_column_compaction_threshold_percent` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
