/tags/release-0.2.0-rc0/hive/external/ql/src/test/results/clientpositive/udf_regexp_replace.q.out
# · text · 13 lines · 13 code · 0 blank · 0 comment · 0 complexity · fafcc196f34406ebe45e12aec339fb16 MD5 · raw file
- PREHOOK: query: DESCRIBE FUNCTION regexp_replace
- PREHOOK: type: DESCFUNCTION
- POSTHOOK: query: DESCRIBE FUNCTION regexp_replace
- POSTHOOK: type: DESCFUNCTION
- regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep
- PREHOOK: query: DESCRIBE FUNCTION EXTENDED regexp_replace
- PREHOOK: type: DESCFUNCTION
- POSTHOOK: query: DESCRIBE FUNCTION EXTENDED regexp_replace
- POSTHOOK: type: DESCFUNCTION
- regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep
- Example:
- > SELECT regexp_replace('100-200', '(\d+)', 'num') FROM src LIMIT 1;
- 'num-num'