You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2016/03/05 19:29:40 UTC

[jira] [Reopened] (JENA-1144) QueryBuilder does not permit aggregates in select statement.

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

Claude Warren reopened JENA-1144:
---------------------------------

Reopening as the projected values are not properly executed in the query.

addVar( "count(*)", "?c" ) does not add the ?c variable to the resulting project properly as the values are never in the solution.

> QueryBuilder does not permit aggregates in select statement.
> ------------------------------------------------------------
>
>                 Key: JENA-1144
>                 URL: https://issues.apache.org/jira/browse/JENA-1144
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: QueryBuilder
>    Affects Versions: Jena 3.0.0
>            Reporter: Claude Warren
>            Assignee: Claude Warren
>            Priority: Minor
>             Fix For: Jena 3.1.0
>
>
> QueryBuilder does not accept aggregates in select statements.
> e.g. addVar( "count(*)", ?v ) fails with a ParseException stating "Aggregate expression not legal at this point"



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