[enhancement](merge-on-write) add skip_delete_bitmap session variable for debug purpose (#17127)

This commit is contained in:
zhannngchen
2023-02-27 23:31:28 +08:00
committed by GitHub
parent e8de07a6a5
commit 84413f33b8
6 changed files with 26 additions and 1 deletions

View File

@ -238,6 +238,8 @@ public class SessionVariable implements Serializable, Writable {
public static final String SKIP_DELETE_SIGN = "skip_delete_sign";
public static final String SKIP_DELETE_BITMAP = "skip_delete_bitmap";
public static final String ENABLE_NEW_SHUFFLE_HASH_METHOD = "enable_new_shuffle_hash_method";
public static final String ENABLE_PUSH_DOWN_NO_GROUP_AGG = "enable_push_down_no_group_agg";
@ -656,6 +658,12 @@ public class SessionVariable implements Serializable, Writable {
@VariableMgr.VarAttr(name = SKIP_DELETE_SIGN)
public boolean skipDeleteSign = false;
/**
* For debug purpose, skip delete bitmap when reading data.
*/
@VariableMgr.VarAttr(name = SKIP_DELETE_BITMAP)
public boolean skipDeleteBitmap = false;
// This variable is used to avoid FE fallback to the original parser. When we execute SQL in regression tests
// for nereids, fallback will cause the Doris return the correct result although the syntax is unsupported
// in nereids for some mistaken modification. You should set it on the
@ -1583,6 +1591,8 @@ public class SessionVariable implements Serializable, Writable {
tResult.setSkipDeletePredicate(skipDeletePredicate);
tResult.setSkipDeleteBitmap(skipDeleteBitmap);
tResult.setPartitionedHashJoinRowsThreshold(partitionedHashJoinRowsThreshold);
tResult.setPartitionedHashAggRowsThreshold(partitionedHashAggRowsThreshold);