[ 
https://issues.apache.org/jira/browse/PIG-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-4629:
----------------------------
    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Olaf Flebbe
>         Attachments: PIG-4629.1.patch
>
>
> 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)

Reply via email to