alexeykudinkin commented on code in PR #6921:
URL: https://github.com/apache/hudi/pull/6921#discussion_r1021987922
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestCOWDataSourceStorage.scala:
##########
@@ -167,12 +167,15 @@ class TestCOWDataSourceStorage extends
SparkClientFunctionalTestHarness {
// Read Incremental Query
// we have 2 commits, try pulling the first commit (which is not the
latest)
val firstCommit = HoodieDataSourceHelpers.listCommitsSince(fs, basePath,
"000").get(0)
+ // Setting HoodieROTablePathFilter here to test whether pathFilter can
filter out correctly for IncrementalRelation
+
spark.sparkContext.hadoopConfiguration.set("mapreduce.input.pathFilter.class",
"org.apache.hudi.hadoop.HoodieROTablePathFilter")
Review Comment:
I see now. Thanks for clarifying!
Shouldn't we write the test that would set `HoodieROTablePathFilter` (by
using globbing for ex)
--
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]