You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/04/30 07:23:05 UTC

[jira] [Commented] (DRILL-2918) TPC-DS query 37 fails with IOBE

    [ https://issues.apache.org/jira/browse/DRILL-2918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520883#comment-14520883 ] 

Jacques Nadeau commented on DRILL-2918:
---------------------------------------

[~agirish], can you turn on verbose error messaging and also grab the error message from the server?

Turn on verbose errors by 
{code}
ALTER SESSION SET `exec.errors.verbose` = true;
{code}

> TPC-DS query 37 fails with IOBE
> -------------------------------
>
>                 Key: DRILL-2918
>                 URL: https://issues.apache.org/jira/browse/DRILL-2918
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 0.9.0
>            Reporter: Abhishek Girish
>            Assignee: Chris Westin
>
> TPC-DS query 37 (SF 1) fails with IndexOutOfBoundsException. This is a regression:
> {code:sql}
> SELECT
>          i_item_id ,
>          i_item_desc ,
>          i_current_price
> FROM     item,
>          inventory,
>          date_dim,
>          catalog_sales
> WHERE    i_current_price BETWEEN 20 AND      20 + 30
> AND      inv_item_sk = i_item_sk
> AND      d_date_sk=inv_date_sk
> AND      d_date BETWEEN Cast('1999-03-06' AS DATE) AND      (
>                   Cast('1999-03-06' AS DATE) + INTERVAL '60' day)
> AND      i_manufact_id IN (843,815,850,840)
> AND      inv_quantity_on_hand BETWEEN 100 AND      500
> AND      cs_item_sk = i_item_sk
> GROUP BY i_item_id,
>          i_item_desc,
>          i_current_price
> ORDER BY i_item_id
> LIMIT 100;
> Text + Views:
> +------------+
> | i_item_id  |
> +------------+
> Query failed: SYSTEM ERROR: index: 1023, length: 1 (expected: range(0, 0))
> Fragment 6:1
> [615979d3-3615-4388-b259-5e0909243a2a on abhi6.qa.lab:31010]
> java.lang.RuntimeException: java.sql.SQLException: Failure while executing query.
> 	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)
> Parquet / Parquet + Views:
> Drill returns no results. This is a case of data incorrectness. 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)