You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2015/01/06 00:12:35 UTC

[jira] [Created] (DRILL-1932) Query fails if the first record batch does not contain any record

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)