Skip to content

Ask the per-type names of a catalog whose array accessors back no set - #193

Merged
estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:fix/per-type-sqlfn-test-reads-value-bins
Oct 12, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:masterfrom
estebanzimanyi:fix/per-type-sqlfn-test-reads-value-bins

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

MobilityDB master (96d1c56c98) gives getValues and valueSet, which return a set, to
temporal_valueset, and leaves the typed accessors returning an array of the
values and its count (tint_values, tfloat_values and their siblings) without
a tag. test_per_type_functions_carry_their_own_name asks tfloat_values for
the sqlfn valueSet, so every run of the suite over MobilityDB master raises
KeyError: 'sqlfn'. The test asks tfloat_value_bins for valueBins, the
per-type function MobilityDB master tags with the SQL name of its own family, and
test_an_array_accessor_backs_no_set_valued_function states the rule the
catalog follows: temporal_valueset backs getValues, and the array accessors
back no SQL function.

Witness: tests/test_sqlfn_deployed.py over the catalog of MobilityDB master
57fac5e427, and over the catalog of 7cc7a5415b, before 96d1c56c98, where
tfloat_values carries valueSet and the new test fails.

Measured: the file passes 9 of 9 over the catalog of 57fac5e427, where it
failed 1 of 8; the suite over the same source-tree catalog reads 522
passed and the 3 failures it reads at master, which the installed-header
catalog of CI passes.

Why: a test of the catalog asks what the catalog states for the MobilityDB
it is derived from.

MobilityDB master (96d1c56c98) gives getValues and valueSet, which return a set, to
temporal_valueset, and leaves the typed accessors returning an array of the
values and its count (tint_values, tfloat_values and their siblings) without
a tag. test_per_type_functions_carry_their_own_name asks tfloat_values for
the sqlfn valueSet, so every run of the suite over MobilityDB master raises
KeyError: 'sqlfn'. The test asks tfloat_value_bins for valueBins, the
per-type function MobilityDB master tags with the SQL name of its own family, and
test_an_array_accessor_backs_no_set_valued_function states the rule the
catalog follows: temporal_valueset backs getValues, and the array accessors
back no SQL function.

Witness: tests/test_sqlfn_deployed.py over the catalog of MobilityDB master
57fac5e427, and over the catalog of 7cc7a5415b, before 96d1c56c98, where
tfloat_values carries valueSet and the new test fails.

Measured: the file passes 9 of 9 over the catalog of 57fac5e427, where it
failed 1 of 8; the suite over the same source-tree catalog reads 522
passed and the 3 failures it reads at master, which the installed-header
catalog of CI passes.

Why: a test of the catalog asks what the catalog states for the MobilityDB
it is derived from.
@estebanzimanyi
estebanzimanyi merged commit e22e380 into MobilityDB:master Oct 12, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/per-type-sqlfn-test-reads-value-bins branch October 12, 2026 21:22
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