You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the endpoint? (leave empty if you don't know)
Backend (qendpoint-backend)
Store (qendpoint-backend)
Core (qendpoint-core)
Frontend (qendpoint-frontend)
Other
Description of the issue
Any query with ORDER BY doesn't work, e.g.
SELECT ?s WHERE {
VALUES?s {1 2345}
} ORDERBYDESC(?s)
returns
1
2
3
4
5
Deactivating the OrderLimitOptimizer in EndpointStoreQueryPreparer class makes sorting work, so I assume it's a combination of how RDF4J does replace child and parent nodes (probably line 68 in OrderLimitOptimizer class) in the corresponding optimizer and how you consume the optimized TupleExpr in the ExtendedEvaluationStrategy?
You can also see from the query plan that something is wrong and the sorting part has been dropped somehow
Part of the endpoint? (leave empty if you don't know)
Description of the issue
Any query with
ORDER BY
doesn't work, e.g.returns
Deactivating the
OrderLimitOptimizer
inEndpointStoreQueryPreparer
class makes sorting work, so I assume it's a combination of how RDF4J does replace child and parent nodes (probably line 68 inOrderLimitOptimizer
class) in the corresponding optimizer and how you consume the optimizedTupleExpr
in theExtendedEvaluationStrategy
?You can also see from the query plan that something is wrong and the sorting part has been dropped somehow
Excepted behavior
correct result:
Obtained behavior
wrong result:
How to reproduce
Application
class from source code or Docker imageEndpoint version
1.13.8
Do I want to contribute to fix it?
No
Something else?
No response
The text was updated successfully, but these errors were encountered: