Skip to content

Build the span set of the array test from increasing spans - #83

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/spanset-array-increasing
Oct 17, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:test/spanset-array-increasing

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The test reading an array of fixed-size values as the contiguous C array MEOS takes builds its
span set from [1, 3) and [5, 7) in that order, and answers {[1, 3), [5, 7)}. A span set
holds its spans increasing, and the public constructor refuses them in any other order, as the
SQL constructor does.

Witness: with MobilityDB master 87c5269563 (whose #3073 makes the public constructors answer what
the SQL constructors answer) the test, building the set from [5, 7) then [1, 3), fails
GeneratedSqlSurfaceTest.arraysCrossAsSparkArrays with "The spans composing a span set must be
increasing: [5, 7), [1, 3)".

Measured: the JMEOS receipt building and testing MobilitySpark at this branch over MobilityDB
87c5269563 and MEOS-API 068f4bf353 runs the suite with no failure.

The test reading an array of fixed-size values as the contiguous C array MEOS takes builds its
span set from `[1, 3)` and `[5, 7)` in that order, and answers `{[1, 3), [5, 7)}`. A span set
holds its spans increasing, and the public constructor refuses them in any other order, as the
SQL constructor does.

Witness: with MobilityDB master `87c5269563` (whose #3073 makes the public constructors answer what
the SQL constructors answer) the test, building the set from `[5, 7)` then `[1, 3)`, fails
`GeneratedSqlSurfaceTest.arraysCrossAsSparkArrays` with "The spans composing a span set must be
increasing: [5, 7), [1, 3)".

Measured: the JMEOS receipt building and testing MobilitySpark at this branch over MobilityDB
`87c5269563` and MEOS-API `068f4bf353` runs the suite with no failure.
@estebanzimanyi
estebanzimanyi merged commit 0bd4fad into MobilityDB:main Oct 17, 2026
3 of 4 checks passed
@estebanzimanyi
estebanzimanyi deleted the test/spanset-array-increasing branch October 17, 2026 21:23
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