Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.0, 1.7.0, 1.8.0
-
None
Description
The following query can cause an NPE in FindPartitionConditions.analyzeCall() if the fileSize column is a partitioned column.
SELECT fileSize FROM dfs.`/drill-data/data/` WHERE compoundId LIKE 'FOO-1234567%'
This is because, the LIKE is treated as a holistic expression in FindPartitionConditions.analyzeCall(), causing opStack to be empty, thus causing opStack.peek() to return a NULL value.
Attachments
Issue Links
- links to