Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-309

FunctionRegistry should allow loading UDFs and UDAFs from property file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      FunctionRegistry.java hard code all UDF, UDAF definitions in a static initializer. There is no way to add new functions without directly modifying this file.

      FunctionRegistry SHOULD look for a property file in which new functions and their implementations can be specified. This will allow third parties to extend hive without maintaining patches against the codebase.

      Attachments

        1. hive-external-functions-0.4.0.diff
          7 kB
          Richard Lee
        2. hive-external-functions5.diff
          7 kB
          Richard Lee
        3. hive-external-functions4.diff
          5 kB
          Richard Lee
        4. hive-external-functions3.diff
          5 kB
          Richard Lee
        5. hive-external-functions2.diff
          6 kB
          Richard Lee
        6. hive-external-functions-2.diff
          5 kB
          Richard Lee
        7. hive-external-functions.diff
          4 kB
          Richard Lee

        Activity

          People

            rl337 Richard Lee
            rl337 Richard Lee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: