[ https://issues.apache.org/jira/browse/JENA-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne reassigned JENA-1844: ----------------------------------- Assignee: Andy Seaborne > 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)