amorynan commented on code in PR #15966:
URL: https://github.com/apache/doris/pull/15966#discussion_r1084955323


##########
fe/fe-core/src/main/java/org/apache/doris/planner/SetOperationNode.java:
##########
@@ -185,6 +185,9 @@ public void finalize(Analyzer analyzer) throws 
UserException {
         // corresponding output slot isn't being materialized)
         materializedResultExprLists.clear();
         Preconditions.checkState(resultExprLists.size() == children.size());
+        if (analyzer.getDescTbl().getTupleDesc(tupleId) == null) {

Review Comment:
   I met a npe when I make unitest in 
   `List<SlotDescriptor> slots = 
analyzer.getDescTbl().getTupleDesc(tupleId).getSlots();`
   because analyzer.getDescTbl().getTupleDesc(tupleId) return null...
    so I add this, maybe it is not important , and it should not fix in this 
pr. I will delete this.



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