924060929 commented on code in PR #12416:
URL: https://github.com/apache/doris/pull/12416#discussion_r964585672
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -227,6 +232,56 @@ public PlanFragment visitPhysicalAggregate(
return currentFragment;
}
+ @Override
+ public PlanFragment visitPhysicalEmptyRelation(PhysicalEmptyRelation
emptyRelation, PlanTranslatorContext context) {
+ List<Slot> output = emptyRelation.getOutput();
+ TupleDescriptor tupleDescriptor = generateTupleDesc(output, null,
context);
+ for (int i = 0; i < output.size(); i++) {
+ SlotDescriptor slotDescriptor = tupleDescriptor.getSlots().get(i);
+ slotDescriptor.setIsNullable(true);
Review Comment:
ok
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]