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 2BA281870B for ; Wed, 29 Jul 2015 02:40:05 +0000 (UTC) Received: (qmail 32420 invoked by uid 500); 29 Jul 2015 02:40:04 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 32344 invoked by uid 500); 29 Jul 2015 02:40:04 -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 32333 invoked by uid 99); 29 Jul 2015 02:40:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2015 02:40:04 +0000 Date: Wed, 29 Jul 2015 02:40:04 +0000 (UTC) From: "Gopal V (JIRA)" To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-11397) Parse Hive OR clauses as they are written into the AST MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gopal V created HIVE-11397: ------------------------------ Summary: Parse Hive OR clauses as they are written into the AST Key: HIVE-11397 URL: https://issues.apache.org/jira/browse/HIVE-11397 Project: Hive Issue Type: Bug Components: Logical Optimizer Affects Versions: 1.3.0, 2.0.0 Reporter: Gopal V When parsing A OR B OR C, hive converts it into (C OR B) OR A instead of turning it into A OR (B OR C) {code} GenericUDFOPOr or = new GenericUDFOPOr(); List expressions = new ArrayList(2); expressions.add(previous); expressions.add(current); {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)