Skip to content

Commit f2cab47

Browse files
feat(parity): expose SQL-surface functions backed by internal MEOS headers
Add MeosOpsSqlSurface with forwarding methods for the MEOS functions that the MobilityDB SQL layer exposes as user functions but implements through meos_internal*.h (emitted by tools/parity/emit_sql_surface.py from the exact JMEOS signatures), bringing the facade to the full JMEOS-bindable SQL surface, and record the reconciliation in parity-status.md. (cherry picked from commit fdb8315)
1 parent df5c870 commit f2cab47

4 files changed

Lines changed: 1025 additions & 9 deletions

File tree

flink-processor/docs/parity-status.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,15 @@ Per-family runtime behaviour is asserted by `src/test/java/org/mobilitydb/flink/
3737

3838
## 4. MobilityDB SQL-surface cross-check
3939

40-
For comparability with the SQL-surface bindings, the facade is also matched against the underlying MEOS C symbol of each addressable `CREATE FUNCTION` in `mobilitydb/sql/**/*.in.sql` (PG-only sections and helper symbols bucketed out; 874 out-of-scope, 113 SQL/plpgsql-composed functions with no single C symbol). The extension wrapper occasionally renames the MEOS function it calls, so this view is a lower bound.
40+
The facade is also matched against the underlying MEOS C symbol of each addressable `CREATE FUNCTION` in `mobilitydb/sql/**/*.in.sql` (PG-only sections and helper symbols bucketed out; 874 out-of-scope, 113 SQL/plpgsql-composed functions with no single C symbol). Functions the SQL layer implements through the internal MEOS headers (`meos_internal*.h`) are exposed via `MeosOpsSqlSurface`.
4141

42-
- Addressable distinct C symbols: **1335**; bound by JMEOS: **1065**; exposed by the facade: **939** (88.2% of the JMEOS-bindable SQL surface).
42+
- Addressable distinct C symbols: **1335**; bound by JMEOS: **1065**; exposed by the facade: **1065** (100.0% of the JMEOS-bindable SQL surface).
43+
44+
- The remaining **270** addressable C symbols are not exported by JMEOS under the name the SQL layer's extension wrapper uses; the wrapper names differ from the MEOS function names they call.
4345

4446
## 5. Runtime symbol resolution
4547

46-
Every facade method delegates to a libmeos symbol of the same name. Against a libmeos built with the extended modules (`-DCBUFFER=ON -DNPOINT=ON -DPOSE=ON -DRGEO=ON`), **2152 of 2160** facade methods resolve to an exported symbol. The following require a libmeos built from current MEOS sources:
48+
Every facade method delegates to a libmeos symbol of the same name. Against a libmeos built with the extended modules (`-DCBUFFER=ON -DNPOINT=ON -DPOSE=ON -DRGEO=ON`), **2278 of 2286** facade methods resolve to an exported symbol. The following require a libmeos built from current MEOS sources:
4749

4850
- `geog_from_binary`
4951
- `nad_stbox_trgeo`

0 commit comments

Comments
 (0)