You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/20 20:04:59 UTC

[jira] [Updated] (DRILL-617) TPCH: query 14 verification fails

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

Parth Chandra updated DRILL-617:
--------------------------------
    Component/s: Query Planning & Optimization

> TPCH: query 14 verification fails
> ---------------------------------
>
>                 Key: DRILL-617
>                 URL: https://issues.apache.org/jira/browse/DRILL-617
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>            Reporter: Zhiyong Liu
>            Priority: Blocker
>             Fix For: 0.4.0
>
>
> 1. Set up drill test framework (see https://github.com/zhiyongliu/incubator-drill/tree/master/testing) and generate TCP H dataset with a scale factor of about 500MB.
> 2. Query file (modified from original by drill dev, and further modified as follows):
> select
>   100.00 * sum(case
>     when p.p_type like 'PROMO%'
>       then l.l_extendedprice * (1 - l.l_discount)
>     else 0
>   end) / sum(l.l_extendedprice * (1 - l.l_discount)) as promo_revenue
> from
>   lineitem l,
>   part p
> where
>   l.l_partkey = p.p_partkey
>   and l.l_shipdate >= date '1994-08-01'
>   and l.l_shipdate < date '1994-08-01' + interval '1' month;
> 3. Drill build:
> git.commit.id=1e0e4dfc96c8e7eb83659784dfbb85cd83d7d243
> 4. The baseline/expected results are generated via Oracle DB.
> 5. Run the above query in the test framework, with verification turned on.
> 6. Verification fails:
> 2014-05-01 10:50:32 INFO  TestVerifier:192 - These rows are not expected:                                                        
> 2014-05-01 10:50:32 INFO  TestVerifier:195 -    16.718056324303113 : 1 time(s).                                                  
> 2014-05-01 10:50:32 INFO  TestVerifier:202 - Total number of unexpected rows: 1                                                  
> 2014-05-01 10:50:32 INFO  TestVerifier:206 - These rows are expected but are not in result set:                                  
> 2014-05-01 10:50:32 INFO  TestVerifier:209 -    16.5451633 : 1 time(s).                                                          
> 2014-05-01 10:50:32 INFO  TestVerifier:216 - Total number of expected but missing: 1



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