blob: e0340696cd8c34aa9d87f42ac1c6f831eb9f900d [file] [log] [blame]
/*
* Description : Test that a listify on a nullable type creates a homogeneous list of type ANY.
* Guards against regression to issue 186.
* Expected Result : Success
*/
drop dataverse test if exists;
create dataverse test;
use dataverse test;
write output to nc1:"rttest/list_listify_03.adm";
// The for prohibits the subplan from being eliminated.
for $x in [1, 2]
let $y := (for $i in [[1,2,3],[10,20,30],[-2,-5,0]] return min($i))
return min($y)