blob: b0ac16dcc12910d16e46eee77e801d10f71e8397 [file] [log] [blame]
/*
* Description : Detect Recursion in UDFs
* Expected Res : Failure
* Date : 30 Aug 2012
* Ignored : Not part of test build, as its a negative test case that thrwos an exception
*/
drop dataverse testdv1 if exists;
create dataverse testdv1;
write output to nc1:"rttest/cross-dataverse_cross-dv16.adm";
// UDF with no inputs
create function testdv1.fun01(){
testdv1.fun02()
}
// UDF with one input
create function testdv1.fun02(){
testdv1.fun03()
}
// UDF with two inputs
create function testdv1.fun03(){
testdv1.fun04()
}
create function testdv1.fun04(){
testdv1.fun02()
}
testdv1.fun01()