You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Ben Becker (JIRA)" <ji...@apache.org> on 2013/11/13 22:51:20 UTC
[jira] [Assigned] (DRILL-293) Sort operator throws NPE on empty
record batch
[ https://issues.apache.org/jira/browse/DRILL-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben Becker reassigned DRILL-293:
--------------------------------
Assignee: Ben Becker
> Sort operator throws NPE on empty record batch
> ----------------------------------------------
>
> Key: DRILL-293
> URL: https://issues.apache.org/jira/browse/DRILL-293
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Ben Becker
> Assignee: Ben Becker
>
> To reproduce, run simply run a sort test with a record count of 0. A sample test case is available [in this branch|https://github.com/vrtx/incubator-drill/commit/c84cb30823514e18620ad5ee799c36c4f772f7b4] .
> The issue is that the builder is null when there are zero records. The contract of the RecordBatch interface is not clear; the SVRemover seems to require a schema in this state.
--
This message was sent by Atlassian JIRA
(v6.1#6144)