Andy Seaborne created JENA-419:
----------------------------------

             Summary: Assigned aggregation variables not placed in scope for 
static scope checking.
                 Key: JENA-419
                 URL: https://issues.apache.org/jira/browse/JENA-419
             Project: Apache Jena
          Issue Type: Bug
          Components: ARQ
    Affects Versions: Jena 2.10.0
            Reporter: Andy Seaborne
            Assignee: Andy Seaborne
             Fix For: Jena 2.10.1


From: 
http://mail-archives.apache.org/mod_mbox/jena-dev/201303.mbox/%3CCD70EA55.1ECAC%25rvesse%40yarcdata.com%3E

SELECT (COUNT(?s) AS ?z) (?z + 1 AS ?x) { ?s ?p ?o }
==>
Non-group key variable in SELECT: ?z in expression ( ?z + 1 )

Using?z in the second expression is legal because ?z is introduced after the 
aggregation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to