[functionpushdown](performance) move function pushdown as default false since its performance is not good (#21111)
set enable function pushdown default to false. enable it in fuzzy mode to test this feature. We should remove function pushdown in the future since we already have common expr pushdown. Co-authored-by: yiguolei <yiguolei@gmail.com>
This commit is contained in:
@ -759,8 +759,8 @@ public class SessionVariable implements Serializable, Writable {
|
||||
needForward = true, expType = ExperimentalType.EXPERIMENTAL)
|
||||
public boolean enableSingleReplicaInsert = false;
|
||||
|
||||
@VariableMgr.VarAttr(name = ENABLE_FUNCTION_PUSHDOWN)
|
||||
public boolean enableFunctionPushdown = true;
|
||||
@VariableMgr.VarAttr(name = ENABLE_FUNCTION_PUSHDOWN, fuzzy = true)
|
||||
public boolean enableFunctionPushdown = false;
|
||||
|
||||
@VariableMgr.VarAttr(name = FORBID_UNKNOWN_COLUMN_STATS)
|
||||
public boolean forbidUnknownColStats = false;
|
||||
@ -995,8 +995,10 @@ public class SessionVariable implements Serializable, Writable {
|
||||
int randomInt = random.nextInt(4);
|
||||
if (randomInt % 2 == 0) {
|
||||
this.rewriteOrToInPredicateThreshold = 100000;
|
||||
this.enableFunctionPushdown = false;
|
||||
} else {
|
||||
this.rewriteOrToInPredicateThreshold = 2;
|
||||
this.enableFunctionPushdown = true;
|
||||
}
|
||||
this.runtimeFilterType = 1 << randomInt;
|
||||
switch (randomInt) {
|
||||
|
||||
Reference in New Issue
Block a user