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

Move common arguments validation and value extraction code to GenericUDF

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: UDF
    • Labels:
      None

      Description

      most of the UDFs

      • check if arguments are primitive / complex
      • check if arguments are particular type or type_group
      • get converters to read values
      • check if argument is constant
      • extract arguments values

      Probably we should move these common methods to GenericUDF

        Attachments

        1. HIVE-9744.5.patch
          65 kB
          Alexander Pivovarov
        2. HIVE-9744.3.patch
          63 kB
          Alexander Pivovarov
        3. HIVE-9744.2.patch
          66 kB
          Alexander Pivovarov
        4. HIVE-9744.1.patch
          62 kB
          Alexander Pivovarov

          Issue Links

            Activity

              People

              • Assignee:
                apivovarov Alexander Pivovarov
                Reporter:
                apivovarov Alexander Pivovarov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: