TangSiyang2001 commented on code in PR #19350:
URL: https://github.com/apache/doris/pull/19350#discussion_r1186699508


##########
fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java:
##########
@@ -610,12 +612,12 @@ public void exec() throws Exception {
         }
         executionProfile.markInstances(instanceIds);
         if (!isPointQuery) {
-            if (enablePipelineEngine) {
+            if (enablePipelineEngine && !enablePpFuzzy) {
                 sendPipelineCtx();
-            } else {
+            } else if (!enablePpFuzzy) {
                 sendFragment();
             }
-        } else {
+        } else if (!enablePpFuzzy) {
             OlapScanNode planRoot = (OlapScanNode) 
fragments.get(0).getPlanRoot();
             Preconditions.checkState(planRoot.getScanTabletIds().size() == 1);
             pointExec.setCandidateBackends(planRoot.getScanBackendIds());

Review Comment:
   How about using
   ```java
   if (enablePpFuzzy) {
       return;
   }
   ```
   to skip the logic below?



##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -352,6 +353,10 @@ public class SessionVariable implements Serializable, 
Writable {
     @VariableMgr.VarAttr(name = ENABLE_PROFILE, needForward = true)
     public boolean enableProfile = false;
 
+    // if true, coordinator do not send planfragment to be, and just ends the 
query.
+    @VariableMgr.VarAttr(name = ENABLE_PP_FUZZY)

Review Comment:
   Does it need to forward to master?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to