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

Move common arguments validation and value extraction code to GenericUDF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.2.0
    • UDF
    • 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.1.patch
          62 kB
          Alexander Pivovarov
        2. HIVE-9744.2.patch
          66 kB
          Alexander Pivovarov
        3. HIVE-9744.3.patch
          63 kB
          Alexander Pivovarov
        4. HIVE-9744.5.patch
          65 kB
          Alexander Pivovarov

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: