hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Commented] (HIVE-9329) The qtest can't handle the statements which contains semicolons in qfile
Date Fri, 09 Jan 2015 17:36:35 GMT

    [ https://issues.apache.org/jira/browse/HIVE-9329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271579#comment-14271579
] 

Sergio Peña 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 following 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)

Mime
View raw message