blob: 83e19e6b989363fe827a7c638ee6a2064c726bc3 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF to concatenate two input strings.
3 * Expected Res : Success
4 * Date : Sep 5th 2012
5 */
6
7drop dataverse test if exists;
8create dataverse test;
9
RamanGrover29@gmail.com24710392012-11-11 18:57:42 +000010write output to nc1:"rttest/user-defined-functions_udf22.adm";
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +000011
12create function test.getFullName($fname,$lname){
13string-concat([$fname,$lname])
14}
15
16let $fn := "Bob"
17let $ln := "Harbus"
18return test.getFullName($fn,$ln)