Pavel Tupitsyn created IGNITE-2563:
--------------------------------------

             Summary: Queries: ArrayIndexOutOfBoundsException
                 Key: IGNITE-2563
                 URL: https://issues.apache.org/jira/browse/IGNITE-2563
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.1.4
            Reporter: Pavel Tupitsyn
             Fix For: 1.6


The following fields query causes an exception at 
GridSqlAggregateFunction.ctor(boolean distinct, int typeId).
typeId is 12.
{code}
select bool_and (((T0._key < ?) and (T0._key >= ?))) from "".Person as T0 where 
(T0._key > ?)
{code}

The query is valid and executes correctly in the H2 console.

Looks like we do not support BOOL_AND aggregate. There should be a 
user-friendly exception describing the problem. Instead, exception message is 
"12".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to