History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-351
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Jeen Broekstra
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

query with only optional path expression causes error on RDBMS store

Created: 02/Mar/07 12:42 PM   Updated: 20/Mar/08 08:46 PM
Component/s: RDBMS Sail, SeRQL
Affects Version/s: 1.2.6
Fix Version/s: 1.2.7


 Description   
See forum thread http://www.openrdf.org/forum/mvnforum/viewthread?thread=1220

A query of the form SELECT * FROM [{X} P {Y}] WHERE Y = foo is not properly processed by the RDBMS store. The optimizeQuery method does not take the corner case of zero normal path expressions with a non-empty set of constraints into account, ultimately causing an translation to an SQL query (which results in an SQL error).

 All   Comments   Change History      Sort Order:
Comment by Jeen Broekstra [02/Mar/07 12:44 PM]
SeRQL test cases (test008a and test008b) checked in, issue fixed in RDBMS sail optimizer.