Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-26360 [Umbrella] Improvement for Hive Query Syntax Compatibility
  3. FLINK-28430

HiveFunctionWrapper should use UserClassLoader to load class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.16.0
    • None
    • Connectors / Hive
    • None

    Description

      Now, HiveFunctionWrapper will use current thread's ClassLoader to load the Hive UDFs class. But the class loader may differ with the class loader that loads the Hive UDFs, which will cause class not found issuse. 

      To solve it, we need to use UserClassLoader to load the Hive UDFs class.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              luoyuxia luoyuxia
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: