[ https://issues.apache.org/jira/browse/DRILL-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Girish closed DRILL-1579. ---------------------------------- The issue described here is resolved, for the query mentioned. Verified manually on Git.Commit.ID d12bee0 (May 7 build). Closing. > Count(*) on TPCDS JSON dataset (table time_dim) throws > IndexOutOfBoundsException > -------------------------------------------------------------------------------- > > Key: DRILL-1579 > URL: https://issues.apache.org/jira/browse/DRILL-1579 > Project: Apache Drill > Issue Type: Bug > Components: Storage - JSON > Reporter: Abhishek Girish > Assignee: Hanifi Gunes > Labels: no_verified_test > Fix For: 0.7.0 > > Attachments: drillbit.log, drillbit.log > > > > select count(*) from time_dim; > +------------+ > | EXPR$0 | > +------------+ > | 18429 | > Query failed: Screen received stop request sent. index: 16384, length: 4 > (expected: range(0, 16384)) [b516b27b-937b-4cbe-9850-d9e823545b43] > java.lang.RuntimeException: java.sql.SQLException: Failure while trying to > get next result batch. > at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2514) > at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148) > at sqlline.SqlLine.print(SqlLine.java:1809) > at sqlline.SqlLine$Commands.execute(SqlLine.java:3766) > at sqlline.SqlLine$Commands.sql(SqlLine.java:3663) > at sqlline.SqlLine.dispatch(SqlLine.java:889) > at sqlline.SqlLine.begin(SqlLine.java:763) > at sqlline.SqlLine.start(SqlLine.java:498) > at sqlline.SqlLine.main(SqlLine.java:460) > SF100 > > select count(*) from time_dim; > +------------+ > | EXPR$0 | > +------------+ > | 18429 | > Query failed: Screen received stop request sent. index: 16384, length: 4 > (expected: range(0, 16384)) [3c7ef863-3397-4a8b-a667-347886b2635a] > java.lang.RuntimeException: java.sql.SQLException: Failure while trying to > get next result batch. > at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2514) > at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2148) > at sqlline.SqlLine.print(SqlLine.java:1809) > at sqlline.SqlLine$Commands.execute(SqlLine.java:3766) > at sqlline.SqlLine$Commands.sql(SqlLine.java:3663) > at sqlline.SqlLine.dispatch(SqlLine.java:889) > at sqlline.SqlLine.begin(SqlLine.java:763) > at sqlline.SqlLine.start(SqlLine.java:498) > at sqlline.SqlLine.main(SqlLine.java:460) > Stack trace attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)