[ https://issues.apache.org/jira/browse/DRILL-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14534576#comment-14534576 ]
Abhishek Girish commented on DRILL-1580: ---------------------------------------- This has been resolved for a long time now. Closing. > Count(*) on TPCDS JSON dataset (table store_sales) throws NullPointerException > ------------------------------------------------------------------------------ > > Key: DRILL-1580 > URL: https://issues.apache.org/jira/browse/DRILL-1580 > Project: Apache Drill > Issue Type: Bug > Reporter: Abhishek Girish > Assignee: Jacques Nadeau > Fix For: 0.7.0 > > > > select count(*) from store_sales; > Query failed: Failure while running fragment. Schema is currently null. You > must call buildSchema(SelectionVectorMode) before this container can return a > schema. [289a6c1c-46e9-469d-8a3b-a23292f608f7] > Error: exception while executing query: Failure while trying to get next > result batch. (state=,code=0) > Stack trace attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)