aokolnychyi commented on code in PR #6776:
URL: https://github.com/apache/iceberg/pull/6776#discussion_r1100985599
##########
spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/source/SparkCopyOnWriteScan.java:
##########
@@ -123,8 +127,17 @@ public void filter(Filter[] filters) {
tasks().stream()
.filter(file ->
fileLocations.contains(file.file().path().toString()))
.collect(Collectors.toList());
+
+ LOG.info(
+ "{}/{} tasks for table {} matched runtime file filter",
+ filteredTasks.size(),
+ tasks().size(),
+ table().name());
+
resetTasks(filteredTasks);
}
+ } else {
+ LOG.warn("Unsupported runtime filter {}", filter);
Review Comment:
Well, I wasn't sure how useful it will be in this context. The table name
does not impact whether a filter can be converted, so I matched what we have in
other places that convert filters.
--
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]