blob: b0ac16dcc12910d16e46eee77e801d10f71e8397 [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Detect Recursion in UDFs
3 * Expected Res : Failure
4 * Date : 30 Aug 2012
5 * Ignored : Not part of test build, as its a negative test case that thrwos an exception
6 */
7
8drop dataverse testdv1 if exists;
9create dataverse testdv1;
10
11write output to nc1:"rttest/cross-dataverse_cross-dv16.adm";
12
13// UDF with no inputs
14create function testdv1.fun01(){
15testdv1.fun02()
16}
17
18// UDF with one input
19create function testdv1.fun02(){
20testdv1.fun03()
21}
22
23// UDF with two inputs
24create function testdv1.fun03(){
25testdv1.fun04()
26}
27
28create function testdv1.fun04(){
29testdv1.fun02()
30}
31
32testdv1.fun01()