You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
query: three-valued error propagation in IN / NOT IN (§17.4.1.9) #1471
Deferred half of PR #1462 review O2 (the value-equality half shipped in commit 67eca544e). eval_in/eval_not_in (fluree-db-query/src/eval/logical.rs:109,143) now use rdf_term_equal, but the §17.4.1.9 error rule isn't honored: a comparison that type-errors inside the list is swallowed (:114/:148 demote Err→continue) and the expression returns false, where the spec requires ?x IN (list) to be a type error when no element equals ?xand at least one element comparison errored (e.g. 1 IN (<iri>) → error, not false).
Fix direction: propagate a demotable comparison error out of eval_in/eval_not_in when no element definitively matches and ≥1 comparison errored.
Acceptance: §17.4.1.9 error-in-IN semantics; the value-equality behavior from PR #1462 unchanged.
Activity
fix(query): three-valued error propagation in IN / NOT IN (#1471)
fix(query): three-valued error propagation in IN / NOT IN (#1471)