[ https://issues.apache.org/jira/browse/PIG-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
li xiang updated PIG-4629: -------------------------- Description: When running Pig UT with Hive 1.1.0+, there are some compilation error because org.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionInfo() throws SemanticException, but Pig code does not catch it or continue to throw it The error message is: /root/ff/pig/src/org/apache/pig/builtin/HiveUDAF.java:173: error: unreported exception SemanticException; must be caught or declared to be thrown The following files need to be updated: src/org/apache/pig/builtin/HiveUDAF.java src/org/apache/pig/builtin/HiveUDF.java src/org/apache/pig/builtin/HiveUDFBase.java src/org/apache/pig/builtin/HiveUDTF.java was: When running Pig UT with Hive 1.1.0+, there are some compilation error because org.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionInfo() throws SemanticException, but Pig code does not continue to throw it The following files need to be updated: src/org/apache/pig/builtin/HiveUDAF.java src/org/apache/pig/builtin/HiveUDF.java src/org/apache/pig/builtin/HiveUDFBase.java src/org/apache/pig/builtin/HiveUDTF.java > org.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionInfo() throws > SemanticException since Hive 1.1.0 > ----------------------------------------------------------------------------------------------------------- > > Key: PIG-4629 > URL: https://issues.apache.org/jira/browse/PIG-4629 > Project: Pig > Issue Type: Bug > Affects Versions: 0.15.0 > Reporter: li xiang > Priority: Minor > > When running Pig UT with Hive 1.1.0+, there are some compilation error > because org.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionInfo() > throws SemanticException, but Pig code does not catch it or continue to throw > it > The error message is: > /root/ff/pig/src/org/apache/pig/builtin/HiveUDAF.java:173: error: unreported > exception SemanticException; must be caught or declared to be thrown > The following files need to be updated: > src/org/apache/pig/builtin/HiveUDAF.java > src/org/apache/pig/builtin/HiveUDF.java > src/org/apache/pig/builtin/HiveUDFBase.java > src/org/apache/pig/builtin/HiveUDTF.java -- This message was sent by Atlassian JIRA (v6.3.4#6332)