YannByron commented on code in PR #5270:
URL: https://github.com/apache/paimon/pull/5270#discussion_r1991080300
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonScanBuilder.scala:
##########
@@ -106,29 +106,29 @@ class PaimonScanBuilder(table: Table)
return false
}
- val aggregator = new LocalAggregator(table)
- if (!aggregator.pushAggregation(aggregation)) {
- return false
- }
-
val readBuilder = table.newReadBuilder
if (pushedPaimonPredicates.nonEmpty) {
val pushedPartitionPredicate =
PredicateBuilder.and(pushedPaimonPredicates.toList.asJava)
readBuilder.withFilter(pushedPartitionPredicate)
}
val dataSplits =
-
readBuilder.dropStats().newScan().plan().splits().asScala.map(_.asInstanceOf[DataSplit])
- if (!dataSplits.forall(_.mergedRowCountAvailable())) {
- return false
+
readBuilder.newScan().plan().splits().asScala.map(_.asInstanceOf[DataSplit])
Review Comment:
OK~
--
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]