/* | |
* Description : Tests that min aggregation correctly returns null for an empty stream, | |
* without an aggregate combiner. | |
* Success : Yes | |
*/ | |
drop dataverse test if exists; | |
create dataverse test; | |
use dataverse test; | |
write output to nc1:"rttest/aggregate_min_empty_01.adm"; | |
min( | |
for $x in [1, 2, 3] | |
where $x > 10 | |
return $x | |
) |