blob: 89fb567ad21039c17858e208a432af30f30a383a [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
11write output to nc1:"rttest/cross-dataverse_udf17.adm";
12
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