Skip to content

Commit

Permalink
disable fold constant
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangstar333 committed Mar 15, 2024
1 parent 3d0ab49 commit c830f6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ public class SessionVariable implements Serializable, Writable {
private boolean enableJoinReorderBasedCost = false;

@VariableMgr.VarAttr(name = ENABLE_FOLD_CONSTANT_BY_BE, fuzzy = true)
private boolean enableFoldConstantByBe = true;
private boolean enableFoldConstantByBe = false;

@VariableMgr.VarAttr(name = ENABLE_REWRITE_ELEMENT_AT_TO_SLOT, fuzzy = true)
private boolean enableRewriteElementAtToSlot = true;
Expand Down
1 change: 0 additions & 1 deletion regression-test/suites/job_p0/test_base_insert_job.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ suite("test_base_insert_job") {
def jobName = "insert_recovery_test_base_insert_job"
def jobMixedName = "Insert_recovery_Test_base_insert_job"
sql """drop table if exists `${tableName}` force"""
sql """set enable_fold_constant_by_be = false;"""
sql """
DROP JOB IF EXISTS where jobname = '${jobName}'
"""
Expand Down

0 comments on commit c830f6d

Please sign in to comment.