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

morrysnow pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new b64a1e87a81 [fix](Nereids) LogicalEmptyRelation type is wrong (#35512)
b64a1e87a81 is described below

commit b64a1e87a81cf74319c3e802c7aa22385dacb497
Author: morrySnow <[email protected]>
AuthorDate: Tue May 28 17:10:30 2024 +0800

    [fix](Nereids) LogicalEmptyRelation type is wrong (#35512)
    
    pick from master #35382
---
 .../apache/doris/nereids/trees/plans/logical/LogicalEmptyRelation.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalEmptyRelation.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalEmptyRelation.java
index 32e7e1144ac..1aeacf21a79 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalEmptyRelation.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalEmptyRelation.java
@@ -49,7 +49,7 @@ public class LogicalEmptyRelation extends LogicalRelation 
implements EmptyRelati
 
     public LogicalEmptyRelation(RelationId relationId, List<? extends 
NamedExpression> projects,
             Optional<GroupExpression> groupExpression, 
Optional<LogicalProperties> logicalProperties) {
-        super(relationId, PlanType.LOGICAL_ONE_ROW_RELATION, groupExpression, 
logicalProperties);
+        super(relationId, PlanType.LOGICAL_EMPTY_RELATION, groupExpression, 
logicalProperties);
         this.projects = ImmutableList.copyOf(Objects.requireNonNull(projects, 
"projects can not be null"));
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to