Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36550

Propagation cause when UDF reflection fails

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.1.2
    • 3.3.0
    • SQL
    • None

    Description

      Now when UDF reflection fails, InvocationTargetException is thrown, but it is not a specific exception.

      Error in query: No handler for Hive UDF 'XXX': java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      

      Attachments

        Activity

          People

            dzcxzl dzcxzl
            dzcxzl dzcxzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: