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

Move some string UDFs to GenericUDFs, for better varchar support

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • Types, UDF
    • None

    Description

      To better support varchar/char types in string UDFs, select UDFs should be converted to GenericUDFs. This allows the UDF to return the resulting char/varchar length in the type metadata.

      This work is being split off as a separate task from HIVE-4844. The initial UDFs as part of this work are concat/lower/upper.

      Attachments

        1. HIVE-5278.v12.1.patch
          28 kB
          Jason Dere
        2. HIVE-5278.2.patch
          28 kB
          Jason Dere
        3. D12909.1.patch
          73 kB
          Phabricator
        4. HIVE-5278.1.patch
          75 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: