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

Use new GenericUDF instead of basic UDF for UDFDate* classes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

      GenericUDF class is the latest and recommended base class for any UDFs.
      This JIRA is to change the current UDFDate* classes extended from GenericUDF.

      The general benefit of GenericUDF is described in comments as

      "* The GenericUDF are superior to normal UDFs in the following ways: 1. It can

      accept arguments of complex types, and return complex types. 2. It can accept
      variable length of arguments. 3. It can accept an infinite number of function
      signature - for example, it's easy to write a GenericUDF that accepts
      array<int>, array<array<int>> and so on (arbitrary levels of nesting). 4. It
      can do short-circuit evaluations using DeferedObject."

        Attachments

        1. HIVE-5731.1.patch
          43 kB
          Mohammad Kamrul Islam
        2. HIVE-5731.2.patch
          67 kB
          Mohammad Kamrul Islam
        3. HIVE-5731.3.patch
          68 kB
          Mohammad Kamrul Islam
        4. HIVE-5731.4.patch
          71 kB
          Mohammad Kamrul Islam
        5. HIVE-5731.5.patch
          70 kB
          Mohammad Kamrul Islam
        6. HIVE-5731.6.patch
          70 kB
          Mohammad Kamrul Islam
        7. HIVE-5731.7.patch
          70 kB
          Mohammad Kamrul Islam

          Issue Links

            Activity

              People

              • Assignee:
                kamrul Mohammad Kamrul Islam
                Reporter:
                kamrul Mohammad Kamrul Islam
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: