Skip to content

Values stored with less detail than written: re-upserts, sub-microsecond temporals, and one identity in novelty and the index #2090

Open
1 of 1 issue completed

Description

@aaj3f

Status (2026-11-23): every item is fixed on next or moved; #2494 fixes the last one. The float item moved to #1776.

Some values are stored with less detail than they're written with: an integer beyond 64 bits keeps no XSD subtype in the index (#2027), and a dateTime or time is stored to the microsecond. Storage tells such values apart by index key, while novelty's set-semantics dedup (fact_state) tells them apart by term, so writes and reads around them don't agree on when two facts are the same. #2008 left these as follow-ups, and upsert.md documents the first one as the exception to idempotent upserts.

Related existing issue: #2027 (attached here as a sub-issue); #1776 and #1696 sit next to it.

From #2008 (Follow-ups: values stored with less detail than written; query-side datatype fidelity for big integers), its review (sub-microsecond temporals; novelty's dedup) and #2044 (Follow-ups: xsd:float single precision).

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    bug
    P3
    triage:needs-decision
    area:storage
    on Oct 12, 2026
  2. added
    P2
    and removed
    P3
    on Nov 20, 2026
  3. added this to the 5.0.0 milestone on Nov 20, 2026
  4. removed
    triage:needs-decision
    on Nov 23, 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

    P2area:storagebug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions