!197 Fix index loading issue when there is a space in data file path
Merge pull request !197 from Han_Weng/fix-index-special-char-in-path
This commit is contained in:
commit
c54e98fdeb
|
|
@ -81,7 +81,7 @@ public class IndexCache
|
|||
long lastModifiedTime = hiveSplit.getLastModifiedTime();
|
||||
Path path = new Path(hiveSplit.getPath());
|
||||
|
||||
URI pathUri = URI.create(path.toString());
|
||||
URI pathUri = URI.create(path.toString().replaceAll(" ", "%20"));
|
||||
String tableFqn = catalog + "." + table;
|
||||
|
||||
// for each split, load indexes for each predicate (if the predicate contains an indexed column)
|
||||
|
|
|
|||
Loading…
Reference in New Issue