Open vikramsubramanian opened 4 months ago
Summary: Incorrect IRI retrieval for a given internal ID in W3SparqlRecursivePath test.
Based on the provided information, the issue seems to be related to the incorrect reading of an IRI during a lookup operation in a recursive path query. The expected result of the count is 1
, but the test W3SparqlRecursivePath
is failing, indicating that the actual result might be different.
To address the issue, follow these steps:
iri
within a recursive path.iri
comparison logic is correctly implemented. Ensure that the iri
value "x" is being matched exactly and case-sensitively.iri
values are being correctly decoded and compared. If the iri
values are encoded or transformed in any way before comparison, ensure that the decoding or transformation logic is correct.WHERE
clause and applies the filter to each relationship (r
) in the path.hashtag2750
and any associated TODO comments from Guodong
for additional context or clues about the issue.iri
lookup operation to trace the execution flow and identify where the mismatch occurs.W3SparqlRecursivePath
test again to ensure that the issue is resolved and the expected result of 1
is obtained.If the issue is not resolved with the above steps, consider reviewing related components such as index scans or filters that might affect the outcome of the MATCH
clause.
test/optimizer/optimizer_test.cpp
The issue mentions a failure in a recursive path test, and this file contains tests related to recursive joins and path queries, which could be directly related to the issue.
This file contains tests for prepared statements with parameterized queries, which might be relevant if the issue is related to query execution involving parameters.
test/main/result_value_test.cpp
This file contains tests for result values and exceptions, which might be relevant if the issue is related to incorrect results or error handling in query results.
The issue mentions incorrect IRI reading, and this file contains functions for reading IRIs, which could be the source of the bug.
check the following under
rdf/w3_sparql/path.test
At high level, I'm not getting the correct
iri
for a given internal id. This bug doesn't appear in a sequential scan but instead appears in lookup. )