[ 
https://issues.apache.org/jira/browse/JENA-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046444#comment-17046444
 ] 

Andy Seaborne commented on JENA-1844:
-------------------------------------

This is a different problem from JENA-1843; they aren't the same issue in 
different guises.

> OpAsQuery: ORDER BY forgets Extend/Bind
> ---------------------------------------
>
>                 Key: JENA-1844
>                 URL: https://issues.apache.org/jira/browse/JENA-1844
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>            Reporter: Claus Stadler
>            Assignee: Andy Seaborne
>            Priority: Major
>
> Another back-forth conversion issue of syntax/algebra that causes BINDs to 
> get lost in the process:
> {code:java}
> Query expected = QueryFactory.create("SELECT * { ?s ?p ?o BIND(?s AS ?x) } 
> ORDER BY ?s");
> Query actual = OpAsQuery.asQuery(Algebra.compile(expected));
> System.out.println(expected);
> System.out.println(actual);
> {code}
> Output:
> {code:java}
> expected: SELECT * { ?s ?p ?o BIND(?s AS ?x) } ORDER BY ?s
> actual  : SELECT * { ?s ?p ?o } ORDER BY ?s
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to