blob: 97babb91ec15b1d6c92636406e76a654e7350801 [file] [log] [blame]
vinayakb38b7ca42012-03-05 05:44:15 +00001drop dataverse test if exists;
2create dataverse test;
3use dataverse test;
4
5write output to nc1:"rttest/subset-collection_04.adm";
6
7for $l in [1]
8return subset-collection([1, 2, 3, 4], 1, 2)
9/*
10edu.uci.ics.asterix.common.exceptions.AsterixException: Trying to create an aggregate from a scalar function descriptor. (fid=subset-collection@3)
11 at edu.uci.ics.asterix.algebra.expressions.FunctionCallExpression.createEvaluatorFactory(FunctionCallExpression.java:85)
12*/