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

lingmiao 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 9b6ed1525d [fix](nereids) extractPlan should use physical expressions 
but is logical expressions actually (#10483)
9b6ed1525d is described below

commit 9b6ed1525da9464d2412f15f47fdc9931eedd1cc
Author: yinzhijian <373141...@qq.com>
AuthorDate: Wed Jun 29 19:38:10 2022 +0800

    [fix](nereids) extractPlan should use physical expressions but is logical 
expressions actually (#10483)
    
    extractPlan should use physical expressions but is logical expressions 
actually
---
 fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java
index bff2f8cd7d..4e99db0151 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/memo/Group.java
@@ -194,7 +194,7 @@ public class Group {
      * Get the first Plan from Memo.
      */
     public PhysicalPlan extractPlan() throws AnalysisException {
-        GroupExpression groupExpression = this.logicalExpressionsAt(0);
+        GroupExpression groupExpression = this.physicalExpressions.get(0);
 
         List<Plan> planChildren = 
com.google.common.collect.Lists.newArrayList();
         for (int i = 0; i < groupExpression.arity(); i++) {


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

Reply via email to