drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2918) TPC-DS query 37 fails with IOBE
Date Tue, 05 May 2015 13:36:50 GMT

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

Jacques Nadeau updated DRILL-2918:
----------------------------------
    Fix Version/s: 1.2.0

> 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: Aman Sinha
>             Fix For: 1.2.0
>
>
> 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)

Mime
View raw message