Skip to content

Term identity: a key type for keyed operators, and one value-compatibility rule #2083

Open

Description

@aaj3f

#2010 makes every keyed operator (DISTINCT, GROUP BY, MINUS, EXISTS, trailing VALUES, BIND, OPTIONAL) canonicalize terms through one function, so one IRI met in two encoded forms is one term. Two things are left: nothing stops a new keyed site from hashing raw bindings, and the operators still don't share one compatibility rule for numbers.

The two fit one PR reasonably well, since the rule would live in EqualityNorm, which is what TermKey::of takes.

Related existing issue: #1957.

From #2010 (Not changed here: a key type that makes a cross-form comparison impossible to write; Decision for review: the follow-up compatibility rule).

Activity

  1. added
    enhancement
    P3
    triage:needs-decision
    area:query
    on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3area:queryenhancementtriage:needs-decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions