You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/10/27 05:21:29 UTC

[GitHub] [incubator-doris] kangkaisen edited a comment on issue #4772: [Bug] UNION ALL query return wrong empty set

kangkaisen edited a comment on issue #4772:
URL: https://github.com/apache/incubator-doris/issues/4772#issuecomment-716987878


   @ccoffline Sorry. you could add this method to `PlanNode`:
   
   ```
       protected List<TupleId> getAllScanTupleIds() {
           List<TupleId> tupleIds = Lists.newArrayList();
           List<ScanNode> scanNodes = Lists.newArrayList();
           collectAll(Predicates.instanceOf(ScanNode.class), scanNodes);
           for(ScanNode node: scanNodes) {
               tupleIds.addAll(node.getTupleIds());
           }
           return tupleIds;
       }
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org