You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ferdinand Xu (JIRA)" <ji...@apache.org> on 2015/01/09 17:29:34 UTC
[jira] [Created] (HIVE-9329) The qtest can't handle the statements
which contains semicolons in qfile
Ferdinand Xu created HIVE-9329:
----------------------------------
Summary: 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
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)