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)