Hive
  1. Hive
  2. HIVE-5278

Move some string UDFs to GenericUDFs, for better varchar support

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Types, UDF
    • Labels:
      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.

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

        Issue Links

          Activity

          Jason Dere created issue -
          Jason Dere made changes -
          Field Original Value New Value
          Link This issue is part of HIVE-4844 [ HIVE-4844 ]
          Jason Dere made changes -
          Attachment HIVE-5278.1.patch [ 12602952 ]
          Jason Dere made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Phabricator made changes -
          Attachment D12909.1.patch [ 12602979 ]
          Jason Dere made changes -
          Attachment HIVE-5278.2.patch [ 12603197 ]
          Ashutosh Chauhan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.13.0 [ 12324986 ]
          Resolution Fixed [ 1 ]
          Jason Dere made changes -
          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.

          NO PRECOMMIT TESTS - dependent on HIVE-4844
          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.
          Jason Dere made changes -
          Attachment HIVE-5278.v12.1.patch [ 12603472 ]
          Thejas M Nair made changes -
          Fix Version/s 0.12.0 [ 12324312 ]
          Fix Version/s 0.13.0 [ 12324986 ]
          Ashutosh Chauhan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jason Dere
              Reporter:
              Jason Dere
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development