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.