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

Key: SES-774
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

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

GROUP BY with complex expression not evaluated correctly.

Created: 20/May/11 02:08 AM   Updated: 27/Jun/11 06:40 AM
Component/s: SPARQL
Affects Version/s: 2.4.0
Fix Version/s: 2.4.1


 Description   
Example query:

PREFIX : <http://www.example.org/>
   SELECT ?O12 (COUNT(?O1) AS ?C)
   WHERE { ?S :p ?O1; :q ?O2 } GROUP BY ((?O1 + ?O2) AS ?O12)
   ORDER BY ?O12

The problem is that the evaluation mechanism "forgets" to evaluate mathematical expression, so ?O12 remains unbound.

 All   Comments   Change History      Sort Order:
Change by Jeen Broekstra [16/Jun/11 12:44 AM]
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]

Comment by Jeen Broekstra [27/Jun/11 06:40 AM]
Fixed TupleExprBuilder to correctly insert Extensions where necessary.

Change by Jeen Broekstra [27/Jun/11 06:40 AM]
Field Original Value New Value
Status In Progress [ 3 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]