[
https://issues.apache.org/jira/browse/DRILL-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14284377#comment-14284377
]
Jacques Nadeau commented on DRILL-1932:
---------------------------------------
+1
> 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
> Affects Versions: 0.7.0
> Reporter: Aditya Kishore
> Assignee: Aditya Kishore
> Fix For: 0.8.0
>
> Attachments:
> 0003-DRILL-1932-Query-fails-if-the-first-record-batch-doe.patch
>
>
> 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)