You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Neeraja (JIRA)" <ji...@apache.org> on 2014/03/27 19:15:22 UTC

[jira] [Updated] (DRILL-463) Exception in the query without LIMIT: Failure while trying to get next result batch.

     [ https://issues.apache.org/jira/browse/DRILL-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neeraja updated DRILL-463:
--------------------------


The query also hands occasionally. Currently the behavior os unpredictable.
Below is the full stack.

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)

> Exception in the query without LIMIT: Failure while trying to get next result batch.
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-463
>                 URL: https://issues.apache.org/jira/browse/DRILL-463
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Neeraja
>
> Executed the following query and this throws and exception.
> The same query works if I apply a LIMIT clause.
> 0: jdbc:drill:> Select l_orderkey,sum(l_extendedprice * (1 - l_discount)) as revenue,o_orderdate, o_shippriority from hive.customer join hive.orders on c_custkey = o_custkey join hive.lineitem on  l_orderkey = o_orderkey group by l_orderkey, o_orderdate,o_shippriority;
> java.lang.RuntimeException: java.sql.SQLException: Failure while trying to get next result batch.



--
This message was sent by Atlassian JIRA
(v6.2#6252)