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 10076182F7 for ; Tue, 23 Jun 2015 18:36:01 +0000 (UTC) Received: (qmail 10852 invoked by uid 500); 23 Jun 2015 18:36:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 10826 invoked by uid 500); 23 Jun 2015 18:36:00 -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 10816 invoked by uid 99); 23 Jun 2015 18:36:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 18:36:00 +0000 Date: Tue, 23 Jun 2015 18:36:00 +0000 (UTC) From: "Venki Korukanti (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DRILL-3272) HIve : Using 'if' function in hive results in an ExpressionParsingException 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-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Venki Korukanti reassigned DRILL-3272: -------------------------------------- Assignee: Venki Korukanti (was: Mehant Baid) > HIve : Using 'if' function in hive results in an ExpressionParsingException > --------------------------------------------------------------------------- > > Key: DRILL-3272 > URL: https://issues.apache.org/jira/browse/DRILL-3272 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Hive > Reporter: Rahul Challapalli > Assignee: Venki Korukanti > Attachments: error.log > > > git.commit.id.abbrev=5f26b8b > The below query fails. It works properly from hive however > {code} > select if(1999 > 2000, 'latest', 'old') from lineitem limit 1; > Error: SYSTEM ERROR: org.apache.drill.common.exceptions.ExpressionParsingException: Expression has syntax error! line 1:28:mismatched input ',' expecting CParen > Fragment 1:1 > [Error Id: 007e7d7d-62dc-42fd-b526-07762c33719c on qa-node190.qa.lab:31010] (state=,code=0) > {code} > I attached the error log. Let me know if you need anything else. -- This message was sent by Atlassian JIRA (v6.3.4#6332)