[
https://issues.apache.org/jira/browse/JENA-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049406#comment-17049406
]
ASF subversion and git services commented on JENA-1844:
-------------------------------------------------------
Commit 1934159d40d07362bb6ee756cc736c9d6dd658a0 in jena's branch
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=1934159 ]
JENA-1843, JENA-1844: Fixes for OpAsQuery
> 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)