RamanGrover29@gmail.com | 58cf330 | 2012-11-09 00:27:45 +0000 | [diff] [blame^] | 1 | /* |
2 | * Description : Create UDF to subtract two integers | ||||
3 | * Expected Res : Success | ||||
4 | * Date : 4th September 2012 | ||||
5 | */ | ||||
6 | |||||
7 | drop dataverse test if exists; | ||||
8 | create dataverse test; | ||||
9 | |||||
10 | write output to nc1:"rttest/cross-dataverse_udf13.adm"; | ||||
11 | |||||
12 | create function test.foo($a,$b) { | ||||
13 | $a - $b | ||||
14 | } | ||||
15 | |||||
16 | test.foo(400,200) |