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 6A54D104FB for ; Fri, 9 Jan 2015 17:36:35 +0000 (UTC) Received: (qmail 46030 invoked by uid 500); 9 Jan 2015 17:36:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 45897 invoked by uid 500); 9 Jan 2015 17:36:35 -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 45647 invoked by uid 500); 9 Jan 2015 17:36:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 45610 invoked by uid 99); 9 Jan 2015 17:36:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 17:36:35 +0000 Date: Fri, 9 Jan 2015 17:36:35 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9329) The qtest can't handle the statements which contains semicolons in qfile MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9329?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14271= 579#comment-14271579 ]=20 Sergio Pe=C3=B1a commented on HIVE-9329: ----------------------------------- +1 Thanks Ferd > The qtest can't handle the statements which contains semicolons in qfile > ------------------------------------------------------------------------ > > Key: HIVE-9329 > URL: https://issues.apache.org/jira/browse/HIVE-9329 > Project: Hive > Issue Type: Sub-task > Reporter: Ferdinand Xu > Assignee: Ferdinand Xu > Fix For: encryption-branch > > Attachments: HIVE-9329-encryption.patch > > > The previous logic is trying to split the line by semicolons. The followi= ng statement can't be handled. > " > compile `import org.apache.hadoop.hive.ql.exec.UDF \; > public class Pyth extends UDF { > public double evaluate(double a, double b){ > return Math.sqrt((a*a) + (b*b)) \; > } > } `AS GROOVY NAMED Pyth.groovy; > CREATE TEMPORARY FUNCTION Pyth as 'Pyth'; > " -- This message was sent by Atlassian JIRA (v6.3.4#6332)