Description
Running a query that uses indexing but doesn't return any results give an exception.
java.lang.IllegalArgumentException: Can not create a Path from an empty string at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82) at org.apache.hadoop.fs.Path.<init>(Path.java:90) at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224) at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282) at org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
This could potentially be fixed by creating a new empty file to use for the splits.
Once this is fixed, the index_auto_test_if_used.q can be used.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-1644 use filter pushdown for automatically accessing indexes
- Closed