Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5EE7910FD4 for ; Sun, 30 Jun 2013 16:37:23 +0000 (UTC) Received: (qmail 88505 invoked by uid 500); 30 Jun 2013 16:37:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 88453 invoked by uid 500); 30 Jun 2013 16:37:21 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 88445 invoked by uid 500); 30 Jun 2013 16:37:21 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 88441 invoked by uid 99); 30 Jun 2013 16:37:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jun 2013 16:37:20 +0000 Date: Sun, 30 Jun 2013 16:37:20 +0000 (UTC) From: "Ashutosh Chauhan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4692) Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases 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/HIVE-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Chauhan updated HIVE-4692: ----------------------------------- Resolution: Fixed Fix Version/s: 0.12.0 Status: Resolved (was: Patch Available) Committed to trunk. Thanks, Navis! > Constant agg parameters will be replaced by ExprNodeColumnDesc with single-sourced multi-gby cases > -------------------------------------------------------------------------------------------------- > > Key: HIVE-4692 > URL: https://issues.apache.org/jira/browse/HIVE-4692 > Project: Hive > Issue Type: Bug > Reporter: Navis > Assignee: Navis > Priority: Minor > Fix For: 0.12.0 > > Attachments: HIVE-4692.D11169.1.patch > > > HIVE-3495 fixed this for single gbys but not for multi-gbys. For example, > > {noformat} > FROM (select key, cast(key as double) as value from src order by key) a > INSERT OVERWRITE TABLE e1 > SELECT COUNT(*) > INSERT OVERWRITE TABLE e2 > SELECT percentile_approx(value, 0.5); > FAILED: UDFArgumentTypeException The second argument must be a constant, but double was passed instead. > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira