drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2918) TPC-DS query 37 fails with IOBE
Date Thu, 30 Apr 2015 05:20:06 GMT
Abhishek Girish created DRILL-2918:
--------------------------------------

             Summary: 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)

Mime
View raw message