ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2563) Queries: ArrayIndexOutOfBoundsException
Date Fri, 05 Feb 2016 10:46:39 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pavel Tupitsyn updated IGNITE-2563:
-----------------------------------
    Description: 
The following fields query causes an exception at GridSqlAggregateFunction.ctor(boolean distinct,
int typeId).
typeId is 12.
{code}
select bool_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".

  was:
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".


> 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 < ?) 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)

Mime
View raw message