Skip to content

Give the json path the class its own type carries - #129

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/jsonpath-class
Sep 3, 2026
Merged

Give the json path the class its own type carries#129
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:feat/jsonpath-class

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

JsonPath is a MeosType — T_JSONPATH, named jsonpath in MEOS_TYPE_NAMES —
declared in the umbrella meos_json.h with the in/out/copy trio every
other value type has, and reached through a pointer. So it belongs in Value
beside Jsonb, and its absence leaves the nine signatures naming it untypable:
jsonb_path_exists, jsonb_path_match, jsonb_path_query_all,
jsonb_path_query_array, jsonb_path_query_first and their temporal twins say
nothing to a binding that has no class for the path they take.

No membership predicate admits the type, so nothing derives it and the model
states it, exactly as it states Nsegment and Raquet. The coverage gate says
which three those are, so the set cannot grow unnoticed.

`JsonPath` is a MeosType — `T_JSONPATH`, named `jsonpath` in MEOS_TYPE_NAMES —
declared in the umbrella `meos_json.h` with the `in`/`out`/`copy` trio every
other value type has, and reached through a pointer. So it belongs in `Value`
beside `Jsonb`, and its absence leaves the nine signatures naming it untypable:
`jsonb_path_exists`, `jsonb_path_match`, `jsonb_path_query_all`,
`jsonb_path_query_array`, `jsonb_path_query_first` and their temporal twins say
nothing to a binding that has no class for the path they take.

No membership predicate admits the type, so nothing derives it and the model
states it, exactly as it states `Nsegment` and `Raquet`. The coverage gate says
which three those are, so the set cannot grow unnoticed.
@estebanzimanyi
estebanzimanyi merged commit 5142d88 into MobilityDB:master Sep 3, 2026
3 checks passed
@estebanzimanyi
estebanzimanyi deleted the feat/jsonpath-class branch September 3, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant