PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

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