Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C19111001 for ; Thu, 26 Jun 2014 00:56:47 +0000 (UTC) Received: (qmail 22351 invoked by uid 500); 26 Jun 2014 00:56:46 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 22327 invoked by uid 500); 26 Jun 2014 00:56:46 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 22318 invoked by uid 99); 26 Jun 2014 00:56:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 00:56:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Jun 2014 00:56:45 +0000 Received: (qmail 21656 invoked by uid 99); 26 Jun 2014 00:56:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2014 00:56:25 +0000 Date: Thu, 26 Jun 2014 00:56:25 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-992) TPCH 16 returns less rows than expected for SF1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aman Sinha resolved DRILL-992. ------------------------------ Resolution: Fixed This should be fixed in commit 0c9d4deb (fix for Drill-938). Please verify. > 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)