[
https://issues.apache.org/jira/browse/IGNITE-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15144033#comment-15144033
]
ASF GitHub Bot commented on IGNITE-2563:
----------------------------------------
GitHub user shroman opened a pull request:
https://github.com/apache/ignite/pull/476
IGNITE-2563: More descriptive exception on unsupported aggregation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shroman/ignite ignite-2563
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/476.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #476
----
commit 4e8dfc810de4a81819ada83428ebb896a3bfd5ae
Author: shtykh_roman <[email protected]>
Date: 2016-02-12T04:35:12Z
IGNITE-2563: More descriptive exception on unsupported aggregation.
----
> Queries: ArrayIndexOutOfBoundsException when using BOOL_AND
> -----------------------------------------------------------
>
> 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
> Assignee: Roman Shtykh
> 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. Current exception message is
> "12".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)