Skip to content

Commit

Permalink
[fix](Nereids) EmptySetRelation should be Gather not Any (apache#20801)
Browse files Browse the repository at this point in the history
  • Loading branch information
morrySnow authored Jun 14, 2023
1 parent 3c6a27d commit 7ed03f6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.apache.doris.nereids.trees.plans.physical.PhysicalCTEConsumer;
import org.apache.doris.nereids.trees.plans.physical.PhysicalCTEProducer;
import org.apache.doris.nereids.trees.plans.physical.PhysicalDistribute;
import org.apache.doris.nereids.trees.plans.physical.PhysicalEmptyRelation;
import org.apache.doris.nereids.trees.plans.physical.PhysicalEsScan;
import org.apache.doris.nereids.trees.plans.physical.PhysicalFileScan;
import org.apache.doris.nereids.trees.plans.physical.PhysicalFilter;
Expand Down Expand Up @@ -283,6 +284,11 @@ public PhysicalProperties visitPhysicalFileScan(PhysicalFileScan fileScan, PlanC
return PhysicalProperties.ANY;
}

@Override
public PhysicalProperties visitPhysicalEmptyRelation(PhysicalEmptyRelation emptyRelation, PlanContext context) {
return PhysicalProperties.GATHER;
}

@Override
public PhysicalProperties visitPhysicalStorageLayerAggregate(
PhysicalStorageLayerAggregate storageLayerAggregate, PlanContext context) {
Expand Down

0 comments on commit 7ed03f6

Please sign in to comment.