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 6FDA5178B5 for ; Thu, 23 Apr 2015 23:39:39 +0000 (UTC) Received: (qmail 39826 invoked by uid 500); 23 Apr 2015 23:39:39 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 39797 invoked by uid 500); 23 Apr 2015 23:39:39 -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 39717 invoked by uid 99); 23 Apr 2015 23:39:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Apr 2015 23:39:39 +0000 Date: Thu, 23 Apr 2015 23:39:39 +0000 (UTC) From: "Victoria Markman (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2866) Incorrect error message reporting schema change when streaming aggregation and hash join are disabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Victoria Markman updated DRILL-2866: ------------------------------------ Assignee: Sean Hsuan-Yi Chu (was: Daniel Barclay (Drill)) > Incorrect error message reporting schema change when streaming aggregation and hash join are disabled > ----------------------------------------------------------------------------------------------------- > > Key: DRILL-2866 > URL: https://issues.apache.org/jira/browse/DRILL-2866 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Data Types > Affects Versions: 0.9.0 > Reporter: Victoria Markman > Assignee: Sean Hsuan-Yi Chu > Attachments: t1.parquet > > > alter session set `planner.enable_streamagg` = false; > alter session set `planner.enable_hashjoin` = false; > {code} > 0: jdbc:drill:schema=dfs> select t1.a1, > . . . . . . . . . . . . > t1.b1, > . . . . . . . . . . . . > count(distinct t1.c1) as distinct_c1, > . . . . . . . . . . . . > count(distinct t2.c2) as distinct_c2, > . . . . . . . . . . . . > sum(t1.a1) as sum_a1, > . . . . . . . . . . . . > count(t1.c1) as count_a1, > . . . . . . . . . . . . > count(*) as count_star > . . . . . . . . . . . . > from > . . . . . . . . . . . . > t1, > . . . . . . . . . . . . > t2 > . . . . . . . . . . . . > where > . . . . . . . . . . . . > t1.a1 = t2.a2 and t1.b1 = t2.b2 > . . . . . . . . . . . . > group by > . . . . . . . . . . . . > t1.a1, > . . . . . . . . . . . . > t1.b1, > . . . . . . . . . . . . > t2.a2, > . . . . . . . . . . . . > t2.b2 > . . . . . . . . . . . . > order by > . . . . . . . . . . . . > t1.a1, > . . . . . . . . . . . . > t1.b1, > . . . . . . . . . . . . > t2.a2, > . . . . . . . . . . . . > t2.b2 > . . . . . . . . . . . . > ; > +------------+------------+-------------+-------------+------------+------------+------------+ > | a1 | b1 | distinct_c1 | distinct_c2 | sum_a1 | count_a1 | count_star | > +------------+------------+-------------+-------------+------------+------------+------------+ > Query failed: SYSTEM ERROR: Hash aggregate does not support schema changes > Fragment 0:0 > [10ee2422-d13c-4405-a4b6-a62358f72995 on atsqa4-134.qa.lab:31010] > (org.apache.drill.exec.exception.SchemaChangeException) Hash aggregate does not support schema changes > {code} > copy/paste reproduction > {code} > select t1.a1, > t1.b1, > count(distinct t1.c1) as distinct_c1, > count(distinct t2.c2) as distinct_c2, > sum(t1.a1) as sum_a1, > count(t1.c1) as count_a1, > count(*) as count_star > from > t1, > t2 > where > t1.a1 = t2.a2 and t1.b1 = t2.b2 > group by > t1.a1, > t1.b1, > t2.a2, > t2.b2 > order by > t1.a1, > t1.b1, > t2.a2, > t2.b2 > ; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)