HappenLee commented on a change in pull request #6866:
URL: https://github.com/apache/incubator-doris/pull/6866#discussion_r738900276



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
##########
@@ -2185,6 +2185,7 @@ private void 
materializeSlotForEmptyMaterializedTableRef(BaseTableRef tblRef, An
                     slot = 
analyzer.getDescTbl().addSlotDescriptor(tblRef.getDesc());
                     slot.setColumn(minimuColumn);
                     slot.setIsMaterialized(true);
+                    slot.setIsNullable(minimuColumn.isAllowNull());

Review comment:
       Yes,in the case. some query table column is nullable be plan treat it is 
not nullable.




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

Reply via email to