Aditya Kishore created DRILL-1932:
-------------------------------------

             Summary: Query fails if the first record batch does not contain 
any record
                 Key: DRILL-1932
                 URL: https://issues.apache.org/jira/browse/DRILL-1932
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Aditya Kishore
            Assignee: Aditya Kishore


If the a subscan on the first partition does not return any row, for example if 
the first region in an HBase table is empty, the query fails with 
{{NullPointerException}} at 
{{[FragmentWritableBatch.getEmptyBatchWithSchema()|https://github.com/apache/drill/blob/8afe10f2037612c2fd9cf46fc20e81dd73ad6d24/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java#L82]}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to