Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-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 E85D018D2A for ; Fri, 30 Oct 2015 17:18:30 +0000 (UTC) Received: (qmail 86625 invoked by uid 500); 30 Oct 2015 17:18:28 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 86308 invoked by uid 500); 30 Oct 2015 17:18:28 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 86031 invoked by uid 99); 30 Oct 2015 17:18:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 17:18:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 47D4D2C1F63 for ; Fri, 30 Oct 2015 17:18:28 +0000 (UTC) Date: Fri, 30 Oct 2015 17:18:28 +0000 (UTC) From: "Pengcheng Xiong (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12277) Hive macro results on macro_duplicate.q different after adding ORDER BY 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-12277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pengcheng Xiong updated HIVE-12277: ----------------------------------- Affects Version/s: 1.2.0 > Hive macro results on macro_duplicate.q different after adding ORDER BY > ----------------------------------------------------------------------- > > Key: HIVE-12277 > URL: https://issues.apache.org/jira/browse/HIVE-12277 > Project: Hive > Issue Type: Bug > Components: Macros > Affects Versions: 1.2.0 > Reporter: Jason Dere > Assignee: Pengcheng Xiong > Fix For: 2.0.0 > > Attachments: HIVE-12277.01.patch > > > Added an order-by to the query in macro_duplicate.q: > {noformat} > -select math_square(a), math_square(b),factorial(a), factorial(b), math_add(a), math_add(b),int(c) from macro_testing; > \ No newline at end of file > +select math_square(a), math_square(b),factorial(a), factorial(b), math_add(a), math_add(b),int(c) from macro_testing order by int(c); > {noformat} > And the results from math_add() changed unexpectedly: > {noformat} > -1 4 1 2 2 4 3 > -16 25 24 120 8 10 6 > +1 4 1 2 1 4 3 > +16 25 24 120 16 25 6 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)