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 0D9BD11CCF for ; Mon, 9 Jun 2014 16:45:39 +0000 (UTC) Received: (qmail 9024 invoked by uid 500); 9 Jun 2014 16:45:39 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 8998 invoked by uid 500); 9 Jun 2014 16:45:39 -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 8989 invoked by uid 99); 9 Jun 2014 16:45:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 16:45:38 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,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; Mon, 09 Jun 2014 16:45:37 +0000 Received: (qmail 6458 invoked by uid 99); 9 Jun 2014 16:45:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2014 16:45:17 +0000 Date: Mon, 9 Jun 2014 16:45:17 +0000 (UTC) From: "Jacques Nadeau (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-867) tpcds queries 6, 8, 9 and 10 fail to plan 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-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Nadeau updated DRILL-867: --------------------------------- Priority: Minor (was: Major) > tpcds queries 6, 8, 9 and 10 fail to plan > ----------------------------------------- > > Key: DRILL-867 > URL: https://issues.apache.org/jira/browse/DRILL-867 > Project: Apache Drill > Issue Type: Bug > Components: SQL Parser > Reporter: Krystal > Assignee: Aman Sinha > Priority: Minor > > git.commit.id.abbrev=e1e5ea0 > git.commit.time=29.05.2014 @ 15\:32\:29 PDT > query 6: > {code} > select * from (select a.ca_state state, count(*) cnt > from customer_address a > ,customer c > ,store_sales s > ,date_dim d > ,item i > where a.ca_address_sk = c.c_current_addr_sk > and c.c_customer_sk = s.ss_customer_sk > and s.ss_sold_date_sk = d.d_date_sk > and s.ss_item_sk = i.i_item_sk > and d.d_month_seq = > (select distinct (d.d_month_seq) > from date_dim d > where d.d_year = 1998 > and d.d_moy = 5 ) > and i.i_current_price > 1.2 * > (select avg(j.i_current_price) > from item j > where j.i_category = i.i_category) > group by a.ca_state > having count(*) >= 10 > order by cnt > ) limit 100; > {code} > query 7: -- This message was sent by Atlassian JIRA (v6.2#6252)