Hi, the following returns an empty result set on master:

drop dataverse test if exists;
create dataverse test;
use dataverse test;

create type account as open
{ id: int, sum:int }

create dataset Accounts(account) primary key id;

insert into dataset Accounts(
{"id": 1, "sum":100}
)
insert into dataset Accounts(
{"id": 2, "sum":150}
)

let $x := range(1,2)
from $y in dataset Accounts
where $y.id = $x
return $y


Is this the desired behavior or an issue? I've never worked closely with
range, so I wasn't sure whether it has strict type constraints.
Steven

Reply via email to