eclipse-rdf4j / rdf4j

Eclipse RDF4J: scalable RDF for Java
https://rdf4j.org/
BSD 3-Clause "New" or "Revised" License
367 stars 164 forks source link

GH-5121: support empty left bind join (OPTIONAL) in FedX #5200

Closed aschwarte10 closed 2 weeks ago

aschwarte10 commented 2 weeks ago

GitHub issue resolved: #5121

Previously we introduced support for left bind joins in FedX. The case of empty left bind joins (i.e. where the clause inside the OPTIONAL does not provide any statements) was not handled and resulted in an exception

This change now adds support for empty optional joins and passes the results from the left-handside through.


Note: this is a follow up issue and fix for #5121, which we found by using RDF4J 5.1-M1. The fix should be added to 5.1.0


PR Author Checklist (see the contributor guidelines for more details):