/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

  1. PREHOOK: query: DESCRIBE FUNCTION regexp_replace
  2. PREHOOK: type: DESCFUNCTION
  3. POSTHOOK: query: DESCRIBE FUNCTION regexp_replace
  4. POSTHOOK: type: DESCFUNCTION
  5. regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep
  6. PREHOOK: query: DESCRIBE FUNCTION EXTENDED regexp_replace
  7. PREHOOK: type: DESCFUNCTION
  8. POSTHOOK: query: DESCRIBE FUNCTION EXTENDED regexp_replace
  9. POSTHOOK: type: DESCFUNCTION
  10. regexp_replace(str, regexp, rep) - replace all substrings of str that match regexp with rep
  11. Example:
  12. > SELECT regexp_replace('100-200', '(\d+)', 'num') FROM src LIMIT 1;
  13. 'num-num'