afs commented on issue #2311: URL: https://github.com/apache/jena/issues/2311#issuecomment-1983530629
@qmj0923 Thank you for the report. As you say, SPARQL syntax does not allow a union with a single member. It might arise if a query syntax tree is constructed by code including Jena's algebra to syntax converter, `OpAsQuery`. The code will drop through to the loop which does handle the case of union-of-one in the same way but an explicit test and handling is clearer. PR #2314 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
