mobilitydb_spatiotemporal × ducklink bridge (Phase 9.2, mobilitydb)
July 11, 2026 · View on GitHub
Auto-generated by sqlink-shim-codegen
via --dynlink --target mobilitydb_spatiotemporal --provider-id mobilitydb_geometry-composed.
What this is
A wasm32-wasip2 cdylib that imports
compose:dynlink/linker@0.1.0 and exports the canonical
duckdb:extension@4.0.0 contract. At LOAD time the host's provider
registry resolves the id mobilitydb_geometry-composed to the per-sub
composed shim provider under
datafission/extensions/mobilitydb/deps/mobilitydb-geometry-provider-composed.wasm.
Scalar / aggregate / table dispatch is a CBOR-envelope tunnel through
linker.resolve-by-id + endpoint.invoke.
Host wiring
export DUCKLINK_SUB_EXT_BRIDGES="\
mobilitydb_spatiotemporal=$(pwd)/target/wasm32-wasip2/release/mobilitydb_spatiotemporal_duckdb_bridge_dynlink.wasm"
export DUCKLINK_SUB_EXT_PREBUILT="\
mobilitydb_geometry=$HOME/git/datafission/extensions/mobilitydb/deps/mobilitydb-geometry-provider-composed.wasm"
export DUCKLINK_SUB_EXT_ALIAS="\
mobilitydb_spatiotemporal=mobilitydb_geometry"
ducklink -c "LOAD mobilitydb_spatiotemporal;"
Regenerate
See the "Phase 9.2 mobilitydb per-sub bridges" section of SHIM-BRIDGES.md.
sqlink-shim-codegen \
--dynlink \
--target-dialect duckdb \
--target mobilitydb_spatiotemporal \
--provider-id mobilitydb_geometry-composed \
--catalog ~/git/mobilitydb-shim-interface/mobilitydb-catalog.toml \
--interface ~/git/mobilitydb-shim-interface/mobilitydb-interface.sqlite \
--out ~/git/mobilitydb_spatiotemporal-ducklink-bridge
Do not hand-edit
Regenerate from the source-of-truth interface DB + catalog via
sqlink-shim-codegen. Changes made directly here are lost on the
next regen.