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 319EA17E4B for ; Wed, 13 May 2015 23:04:00 +0000 (UTC) Received: (qmail 66293 invoked by uid 500); 13 May 2015 23:04:00 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 66264 invoked by uid 500); 13 May 2015 23:04:00 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 66248 invoked by uid 99); 13 May 2015 23:04:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2015 23:04:00 +0000 Date: Wed, 13 May 2015 23:03:59 +0000 (UTC) From: "Aman Sinha (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (DRILL-3069) Wrong result for aggregate query with filter on SF100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aman Sinha created DRILL-3069: --------------------------------- Summary: Wrong result for aggregate query with filter on SF100 Key: DRILL-3069 URL: https://issues.apache.org/jira/browse/DRILL-3069 Project: Apache Drill Issue Type: Bug Components: Execution - Relational Operators Affects Versions: 1.0.0 Reporter: Aman Sinha Assignee: Chris Westin Wrong result on TPCH sf100: {code} 0: jdbc:drill:zk=10.10.103.32:5181> select max(l_suppkey) from lineitem where l_suppkey = 3872; +------------+ | EXPR$0 | +------------+ | 991683 | +------------+ 1 row selected {code} Plan looks correct: {code} +------------+------------+ | text | json | +------------+------------+ | 00-00 Screen 00-01 StreamAgg(group=[{}], EXPR$0=[MAX($0)]) 00-02 UnionExchange 01-01 StreamAgg(group=[{}], EXPR$0=[MAX($0)]) 01-02 Filter(condition=[=($0, 3872)]) 01-03 Scan(groupscan=[ParquetGroupScan [entries=[ReadEntryWithPath [path=maprfs:/data/parquet/tpch/scale100/lineitem]], selectionRoot=/data/parquet/tpch/scale100/lineitem, numFiles=1, columns=[`l_suppkey`]]]) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)