morningman commented on code in PR #24338:
URL: https://github.com/apache/doris/pull/24338#discussion_r1326753849
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalFileScan.java:
##########
@@ -149,6 +149,13 @@ public SelectedPartitions(long totalPartitionNum,
Map<Long, PartitionItem> selec
}
}
+ /**
+ * Return true means this relation is partition prunned
+ */
+ public boolean isPartitionPruned() {
+ return this.totalPartitionNum > 0 || isPartitionPruned;
Review Comment:
Changed, the previous code is confusing
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]