1
0

[HUDI-1817] Fix getting incorrect partition path while using incr query by spark-sql (#2858)

This commit is contained in:
xiarixiaoyao
2021-04-30 14:57:52 +08:00
committed by GitHub
parent 6848a683bd
commit 929eca43fe
3 changed files with 45 additions and 1 deletions

View File

@@ -239,7 +239,7 @@ public class HoodieInputFormatUtils {
* those partitions.
*/
for (Path path : inputPaths) {
if (path.toString().contains(s)) {
if (path.toString().endsWith(s)) {
return true;
}
}