aokolnychyi commented on a change in pull request #2206:
URL: https://github.com/apache/iceberg/pull/2206#discussion_r569762910
##########
File path:
spark3/src/main/java/org/apache/iceberg/spark/source/SparkMergeScan.java
##########
@@ -111,7 +111,7 @@ public Statistics estimateStatistics() {
}
@Override
- public void filterFiles(Set<String> locations) {
+ public synchronized void filterFiles(Set<String> locations) {
Review comment:
Can you elaborate a bit more? There is only one DynamicFilter node right
now (the second branch uses a normal scan node). Technically, we don't need to
add synchronization to `filterFiles` but the other two cases seem valid.
----------------------------------------------------------------
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]