Skip to content

Generate the TNumber value splits#82

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/generate-tnumber-value-splits
Jul 23, 2026
Merged

Generate the TNumber value splits#82
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/generate-tnumber-value-splits

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The value split and value-time split of tint and tfloat return the temporal fragments alongside a per-fragment value-bin out-parameter (and, for the value-time split, a parallel time-bin out-parameter) — the same split shape as the time split, with the bin dimension carrying a base value rather than a timestamp.

This adds the value bin dimension to the split-key map: an int bin array reads the number component through getInt, a double bin array through getDouble. The split fold already walks its bin dimensions in order, so the one-dimensional value split and the two-dimensional value-time split both fold into records — (number, fragment) and (number, time, fragment) — with no further change.

A parity test checks the int value split and the float value-time split against direct GeneratedFunctions calls.

The value split and value-time split of tint and tfloat return the temporal
fragments alongside a per-fragment value-bin out-parameter (and, for the
value-time split, a parallel time-bin out-parameter), the same split shape as
the time split with the bin dimension carrying a base value rather than a
timestamp.

Add the value bin dimension to the split-key map: an int bin array reads the
number component through getInt, a double bin array through getDouble. The
split fold already walks its bin dimensions in order, so the one-dimensional
value split and the two-dimensional value-time split both fold into records —
(number, fragment) and (number, time, fragment) — with no further change.

A parity test checks the int value split and the float value-time split
against direct GeneratedFunctions calls.
@estebanzimanyi
estebanzimanyi merged commit c39c9a9 into MobilityDB:main Jul 23, 2026
1 check passed
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