Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4629

org.apache.hadoop.hive.ql.exec.FunctionRegistry#getFunctionInfo() throws SemanticException since Hive 1.1.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.15.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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

        Attachments

        1. PIG-4629.1.patch
          2 kB
          Olaf Flebbe

          Issue Links

            Activity

              People

              • Assignee:
                oflebbe Olaf Flebbe
                Reporter:
                xiangli Xiang Li
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: