History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-772
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Queries with aggregate operator as an argument in a math expression fail.

Created: 18/May/11 02:12 AM   Updated: 24/Aug/11 09:07 AM
Component/s: SPARQL
Affects Version/s: 2.4.0-alpha1
Fix Version/s: 2.5.0

For example (see unit test testcases-sparql-1.1/aggregates/sparql-aggregate-restriction-01) :

PREFIX : <http://example/>
SELECT ?x (MIN(?y) * 2 AS ?min) ?strZ
?x :p ?y .
?x :q ?z .
GROUP BY ?x (STR(?z) as ?strZ)

This fails because the min operator is part of a math expression, and as such is not correctly picked up and linked to the group.

 All   Comments   Change History      Sort Order:
Comment by Jeen Broekstra [19/Jul/11 07:11 AM]
fixed in SVN.