docs: parity-status snapshot + regeneration script#66
Merged
nhungoc1508 merged 2 commits intomainfrom May 4, 2026
Merged
Conversation
scripts/parity-audit.py walks MobilityDB's CREATE FUNCTION surface
across mobilitydb/sql/**/*.in.sql and MobilityDuck's RegisterFunction
calls in src/**/*.cpp, then writes a per-section coverage table and a
list of unregistered function names.
Match is by name only — overload-level parity is not verified.
docs/parity-status.md is the latest snapshot. Regenerate with:
python3 scripts/parity-audit.py --mdb ../MobilityDB --mduck . \
--out docs/parity-status.md
Snapshot 2026-04-30: 1017/2054 names covered (49.5%). High-level
gaps include all aggregate sections, all gist/spgist support, the
*_compops / *_posops operator surfaces (where DuckDB-rejected
multi-char operators are partially covered by named-function
equivalents documented in docs/DuckDB-Parity-Gaps.md once PR #64
lands), and the npoint base type itself.
This was referenced Apr 30, 2026
Per scoping discussion: the active sweep covers temporal + geo only. npoint, cbuffer, pose, rgeo families are deferred until the active surface stabilises (then th3index + tbigint becomes the next phase). Changes: - scripts/parity-audit.py: introduces DEFERRED_FAMILIES at top of file. The report now splits into "Active-scope coverage" (drives the headline percentage) and a "Deferred families" appendix table. Re-include a family by removing it from DEFERRED_FAMILIES. - docs/parity-status.md: regenerated. Active scope is 597/1261 names covered (47.3%) across 57 sections. Deferred scope (793 names across 44 sections) is itemised but not in the headline number. JSON types are tracked as a future scope addition once temporal+geo parity stabilises.
This was referenced Apr 30, 2026
feat(bindings): tnumber math followups — exp/ln/log10, deltaValue, trend, named-function aliases
#71
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A planning artefact, not a code change. Adds:
Match is by function name only, case-insensitive. A name registered in MobilityDuck is treated as covering all its overloads, so per-overload signature parity (e.g. `before(tstzspan, temporal)` vs `before(temporal, temporal)`) is not verifiable at this granularity.
Top-line numbers (snapshot 2026-04-30)
Where the gaps cluster
Sections at 100% coverage
`temporal/002_set_ops`, `temporal/005_span_ops`, `geo/072_tpoint_tempspatialrels`.
Sections close to done (>=80%)
`temporal/021_tbox` (80%), `temporal/009_spanset_ops` (86%), `geo/070_tpoint_spatialrels` (92%), `geo/056_tpoint_spatialfuncs` (79%), `cbuffer/162_tcbuffer_spatialrels` (85%), `pose/105_tpose_spatialfuncs` (88%), `npoint/087_tnpoint_spatialfuncs` (92%), `rgeo/125_trgeo_spatialfuncs` (88%).
Suggested triage order
This document is the single source of truth for "what's left." Regenerate after every batch lands so the percentage tracks.
Test plan