[TD-5623]<feature>: Set default column compression threshold to 512KB

This commit is contained in:
Ganlin Zhao 2021-08-12 09:49:31 +08:00
parent 05d69e77ce
commit 600c3006ad
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ typedef int32_t (*__block_search_fn_t)(char* data, int32_t num, int64_t key, int
#define GET_NUM_OF_RESULTS(_r) (((_r)->outputBuf) == NULL? 0:((_r)->outputBuf)->info.rows)
#define QUERY_COMP_THRESHOLD 16
//TODO: may need to fine tune this threshold
#define QUERY_COMP_THRESHOLD 1024 * 512
#define NEEDTO_COMPRESS_QUERY(size) ((size) > QUERY_COMP_THRESHOLD ? 1 : 0)
enum {