Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
- Create LineItem dataset
- Create index on l_suppkey
create index idx_LineItem_suppkey on LineItem (l_suppkey) type btree;
- Run the following query
select value count(*) from LineItem as c where ((c.l_suppkey < 100 + tobigint(random()/2)) and (c.l_suppkey > 5 + tobigint(random()/2)));
- Error:
java.lang.Exception: ASX1079: Compilation error: Could not infer type for variable '$$44'.
There's a range search on indexed field and search expressions are not a constants