blob: e9f074241a55d67fd2a6a110ff9ea20ade43c36d [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF that returns string
3 * : compute the string lenght of the string
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_udf16.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000012
13create function test.fn02(){
14"Welcome to the world of Asterix"
15}
16
17let $str := test.fn02()
18return string-length($str)