https://github.com/apache/hudi/blob/9bcd3221fd440081dbae70e89d08539c3b484862/hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HoodieROTablePathFilter.java#L120-L121
As shown in the 2 lines above, it does not seem to work with directory Path. It should work for both `new Path("base/partition")` and `new Path("base/partition/")`, but it only works for the former case. In the latter case, `folder` will be "base/partition" and `path` will be "base/partition/", which will always result in returning false. A potential bug?