Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
Description
Create UDFS for these functions.
CHR: convert n where n : [0, 256) into the ascii equivalent as a varchar. If n is less than 0 or greater than 255, return the empty string. If n is 0, return null.
REPLACE: replace all substrings of 'str' that match 'search' with 'rep'.
Example. SELECT REPLACE('Hack and Hue', 'H', 'BL');
Equals 'BLack and BLue'"
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-14581 Add chr udf
- Resolved
- is duplicated by
-
HIVE-14581 Add chr udf
- Resolved
- links to