Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 2.7.4
-
None
Description
There was one other case where our tests were stuck on a very slow query execution because transformFilterEquality failed to optimize. The problem is that the optimizer gives up whenever the WHERE clause starts with an OPTIONAL clause. The reason is that the generated algebraic formula starts with a TableUnit and this is not handled correctly.
I have attached a patch which fixes the problem