https://github.com/tegmentum/mobilitydb_network-ducklink-bridge
Auto-generated compose:dynlink bridge — sql-extension-catalog target mobilitydb_network → duckdb:extension. Emitted by sqlink-shim-codegen --dynlink.
https://github.com/tegmentum/mobilitydb_network-ducklink-bridge
Last synced: 9 days ago
JSON representation
Auto-generated compose:dynlink bridge — sql-extension-catalog target mobilitydb_network → duckdb:extension. Emitted by sqlink-shim-codegen --dynlink.
- Host: GitHub
- URL: https://github.com/tegmentum/mobilitydb_network-ducklink-bridge
- Owner: tegmentum
- Created: 2026-07-09T21:31:55.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-07-11T12:25:10.000Z (30 days ago)
- Last Synced: 2026-07-11T14:11:16.226Z (30 days ago)
- Language: Rust
- Size: 54.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mobilitydb_network × ducklink bridge (Phase 9.2, mobilitydb)
Auto-generated by [`sqlink-shim-codegen`](https://github.com/tegmentum/sqlink-shim-codegen)
via `--dynlink --target mobilitydb_network --provider-id mobilitydb_network-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_network-composed` to the per-sub
composed shim provider under
`datafission/extensions/mobilitydb/deps/mobilitydb-network-provider-composed.wasm`.
Scalar / aggregate / table dispatch is a CBOR-envelope tunnel through
`linker.resolve-by-id + endpoint.invoke`.
## Host wiring
```sh
export DUCKLINK_SUB_EXT_BRIDGES="\
mobilitydb_network=$(pwd)/target/wasm32-wasip2/release/mobilitydb_network_duckdb_bridge_dynlink.wasm"
export DUCKLINK_SUB_EXT_PREBUILT="\
mobilitydb_network=$HOME/git/datafission/extensions/mobilitydb/deps/mobilitydb-network-provider-composed.wasm"
export DUCKLINK_SUB_EXT_ALIAS="\
mobilitydb_network=mobilitydb_network"
ducklink -c "LOAD mobilitydb_network;"
```
## Regenerate
See the "Phase 9.2 mobilitydb per-sub bridges" section of
[SHIM-BRIDGES.md](https://github.com/tegmentum/shim-bridge-smoke-tests/blob/main/SHIM-BRIDGES.md).
```sh
sqlink-shim-codegen \
--dynlink \
--target-dialect duckdb \
--target mobilitydb_network \
--provider-id mobilitydb_network-composed \
--catalog ~/git/mobilitydb-shim-interface/mobilitydb-catalog.toml \
--interface ~/git/mobilitydb-shim-interface/mobilitydb-interface.sqlite \
--out ~/git/mobilitydb_network-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.