[HUDI-1817] Fix getting incorrect partition path while using incr query by spark-sql (#2858)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user