EmmyMiao87 commented on pull request #5521:
URL: https://github.com/apache/incubator-doris/pull/5521#issuecomment-803734110
> seems not need return null too many, may under code is better:
>
> ```
> if (this instanceof ScanNode && tupleIds.contains(tupleId)) {
> return (ScanNode) this;
> } else if (!(this instanceof ExchangeNode)) {
> for (PlanNode planNode : children) {
> ScanNode scanNode =
planNode.getScanNodeInOneFragmentByTupleId(tupleId);
> if (scanNode != null) {
> return scanNode;
> }
> }
> }
> return null;
> ```
changed
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]