This is an automated email from the ASF dual-hosted git repository.

gabriellee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ce581ec0cd [minor](scan) Delete unused function in ScanNode (#44733)
3ce581ec0cd is described below

commit 3ce581ec0cdad4f2e953b5fd554917e6c3761d7c
Author: Gabriel <liwenqi...@selectdb.com>
AuthorDate: Mon Dec 2 10:33:31 2024 +0800

    [minor](scan) Delete unused function in ScanNode (#44733)
---
 fe/fe-core/src/main/java/org/apache/doris/planner/ScanNode.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/planner/ScanNode.java 
b/fe/fe-core/src/main/java/org/apache/doris/planner/ScanNode.java
index b4033a0535e..2b10520e67d 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/ScanNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/ScanNode.java
@@ -727,15 +727,6 @@ public abstract class ScanNode extends PlanNode implements 
SplitGenerator {
         return scanRangeLocation;
     }
 
-    public boolean ignoreStorageDataDistribution(ConnectContext context, int 
numBackends) {
-        return context != null
-                && 
context.getSessionVariable().isIgnoreStorageDataDistribution()
-                && !fragment.hasNullAwareLeftAntiJoin()
-                && getScanRangeNum()
-                < 
ConnectContext.get().getSessionVariable().getParallelExecInstanceNum()
-                * (numScanBackends() > 0 ? numScanBackends() : numBackends);
-    }
-
     public int numScanBackends() {
         return scanBackendIds.size();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to