blob: b98d123ae3b0d8eba583b94c0d72de9312fb7e4f [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF and invoke it from another UDF and
3 * : child UDF returns a string to the parent.
4 * Expected Res : Success
5 * Date : Sep 5th 2012
6 */
7
8drop dataverse test if exists;
9create dataverse test;
10
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000011write output to nc1:"rttest/user-defined-functions_udf17.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000012
13create function test.parent(){
14test.child()
15}
16
17create function test.child() {
18"This data is from the child function"
19}
20
21let $str := test.parent()
22return $str