Skip to content

Record the value size and copy functions of a pose chain and a raster in the Spark gaps ledger - #175

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ledger/value-image-functions
Oct 11, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ledger/value-image-functions

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

MobilityDB b2dcdf7d84 makes public the size and the copy of every value type, the first step of a
binding carrying a value as its MEOS memory image: posechain_mem_size takes a PoseChain *,
raster_mem_size a Raster * and raster_copy returns one, which the Spark UDF surface does not
carry, as for the functions the ledger lists with that argument or return. tools/spark-udf-gaps.txt
lists the three; the other size and copy functions it makes public reach the surface.

Witness: over MobilityDB b2dcdf7d84 and MEOS-API 9b337a00fe the step refusing a public function
the Spark surface stops reaching fails on main's ledger with "3 public functions the surface does
not reach and the ledger does not list", naming posechain_mem_size arg:PoseChain *, raster_copy
ret:Raster * and raster_mem_size arg:Raster *.

Measured over the same pair with the jar built from that catalog and that libmeos: the step
reports no function missing from the ledger, which lists 758 functions.

Why: the ledger states every public function the Spark UDF surface does not reach, so a catalog
change that leaves one unmapped is refused instead of passing in silence.

… in the Spark gaps ledger

MobilityDB b2dcdf7d84 makes public the size and the copy of every value type, the first step of a
binding carrying a value as its MEOS memory image: posechain_mem_size takes a PoseChain *,
raster_mem_size a Raster * and raster_copy returns one, which the Spark UDF surface does not
carry, as for the functions the ledger lists with that argument or return. tools/spark-udf-gaps.txt
lists the three; the other size and copy functions it makes public reach the surface.

Witness: over MobilityDB b2dcdf7d84 and MEOS-API 9b337a00fe the step refusing a public function
the Spark surface stops reaching fails on main's ledger with "3 public functions the surface does
not reach and the ledger does not list", naming posechain_mem_size arg:PoseChain *, raster_copy
ret:Raster * and raster_mem_size arg:Raster *.

Measured over the same pair with the jar built from that catalog and that libmeos: the step
reports no function missing from the ledger, which lists 758 functions.

Why: the ledger states every public function the Spark UDF surface does not reach, so a catalog
change that leaves one unmapped is refused instead of passing in silence.
@estebanzimanyi
estebanzimanyi merged commit 7f25fc8 into MobilityDB:main Oct 11, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the ledger/value-image-functions branch October 11, 2026 17:58
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