JingsongLi commented on code in PR #6786:
URL: https://github.com/apache/paimon/pull/6786#discussion_r2605458457
##########
paimon-spark/paimon-spark-common/src/main/scala/org/apache/paimon/spark/PaimonBaseScan.scala:
##########
@@ -121,6 +121,23 @@ abstract class PaimonBaseScan(
paimonMetricsRegistry.buildSparkScanMetrics()
}
+ private def ensureNoFullScan(): Unit = {
+ if (OptionUtils.readAllowFullScan()) {
+ return
+ }
+
+ table match {
+ case t: FileStoreTable if !t.partitionKeys().isEmpty =>
+ val skippedFiles =
paimonMetricsRegistry.buildSparkScanMetrics().collectFirst {
+ case m: PaimonSkippedTableFilesTaskMetric => m.value
Review Comment:
If data skipping using non-partition cols?
--
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]