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
Inconsistent JSON-LD rendering of xsd:decimal values: empty @type from arena decode vs plain string from flake path #1329
Observed while writing the overlay differential test it_join_batched_overlay.rs::batched_join_decimal_novelty, where the same query returns mixed forms when part of the data is in the index and part in novelty. The test works around it by comparing extracted @values instead of exact JSON (see the decimal_values helper and the comment marking this as a pre-existing formatter discrepancy).
Repro shape: index a typed decimal, commit another via novelty, SELECT both — the indexed one comes back as an object with an empty @type, the novelty one as a bare string.
Expected
One canonical rendering for xsd:decimal regardless of serving path — and in no case an empty @type string, which is malformed JSON-LD.
Likely area: the formatter's handling of NUM_BIG_OVERFLOW-decoded values fails to map the o_type back to the xsd:decimal datatype IRI (hence @type: ""), while the flake path drops the type annotation entirely.
Activity
fix: consistent xsd:decimal datatype across index and novelty (#1329)
Merge pull request #1386 from fluree/fix/decimal-jsonld-render-1329
Keep annotations on big-numeric objects
fix(query): indexed overflow integers keep xsd:integer through DATATY…