You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2014/06/20 00:50:26 UTC
[jira] [Commented] (DRILL-992) TPCH 16 returns less rows than
expected for SF1
[ https://issues.apache.org/jira/browse/DRILL-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038046#comment-14038046 ]
Rahul Challapalli commented on DRILL-992:
-----------------------------------------
This query actually succeeds for TPCH volume of 1GB. However it fails for 10GB as it returns fewer rows
> TPCH 16 returns less rows than expected for SF1
> -----------------------------------------------
>
> Key: DRILL-992
> URL: https://issues.apache.org/jira/browse/DRILL-992
> Project: Apache Drill
> Issue Type: Bug
> Components: Query Planning & Optimization
> Reporter: Ramana Inukonda Nagaraj
> Assignee: Aman Sinha
>
> Tracking bug,
> Aman already has the information and repro.
> For TPCH 16
> select
> p.p_brand,
> p.p_type,
> p.p_size,
> count(distinct ps.ps_suppkey) as supplier_cnt
> from
> partsupp ps,
> part p
> where
> p.p_partkey = ps.ps_partkey
> and p.p_brand <> 'Brand#21'
> and p.p_type not like 'MEDIUM PLATED%'
> and p.p_size in (38, 2, 8, 31, 44, 5, 14, 24)
> and ps.ps_suppkey not in (
> select
> s.s_suppkey
> from
> supplier s
> where
> s.s_comment like '%Customer%Complaints%'
> )
> group by
> p.p_brand,
> p.p_type,
> p.p_size
> order by
> supplier_cnt desc,
> p.p_brand,
> p.p_type,
> p.p_size
> We are missing around 690 rows in the result obtained from drill vs result from postgres.
--
This message was sent by Atlassian JIRA
(v6.2#6252)