Skip to content

Read the NULL a MEOS argument accepts from the @nullable tag alone - #215

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:parser/nullable-reads-the-tag-only
Oct 27, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:parser/nullable-reads-the-tag-only

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A parameter accepts NULL where its @PARAM entry carries the @nullable tag, and
shape.nullable lists exactly those parameters. A description naming NULL in
prose states nothing: on MobilityDB master such a description describes a
value written or another argument.

Witness: the dissolved output of a geometry dissolve documented "or NULL where
nothing dissolves" is not nullable (test_prose_naming_null_states_nothing);
the reader of master answers it nullable.

Measured: over MobilityDB master f69b861f64, shape.nullable holds the same 292
parameters of 203 functions as before; the 80 tests of the nullable, outparam
and boundargs readers pass.

Why: the tag is the one statement of a NULL argument, so a second reading of
the prose can only disagree with it.

A parameter accepts NULL where its @PARAM entry carries the @nullable tag, and
shape.nullable lists exactly those parameters. A description naming NULL in
prose states nothing: on MobilityDB master such a description describes a
value written or another argument.

Witness: the dissolved output of a geometry dissolve documented "or NULL where
nothing dissolves" is not nullable (test_prose_naming_null_states_nothing);
the reader of master answers it nullable.

Measured: over MobilityDB master f69b861f64, shape.nullable holds the same 292
parameters of 203 functions as before; the 80 tests of the nullable, outparam
and boundargs readers pass.

Why: the tag is the one statement of a NULL argument, so a second reading of
the prose can only disagree with it.
@estebanzimanyi
estebanzimanyi merged commit 11b7bac into MobilityDB:master Oct 27, 2026
3 checks passed
@estebanzimanyi
estebanzimanyi deleted the parser/nullable-reads-the-tag-only branch October 27, 2026 11:45
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