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: 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