You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GEOMETRY/GEOGRAPHY column metadata omits SRID (type_text should carry it, e.g. GEOMETRY(0) / GEOGRAPHY(4326)) #236
For result-set columns of type GEOMETRY / GEOGRAPHY, the kernel's SEA manifest surfaces only the bare type name (type_name = GEOMETRY, type_text = GEOMETRY) with no SRID. The reference Databricks ODBC driver (Simba 2.12) reports the SRID as a type parameter: GEOMETRY(0) and GEOGRAPHY(4326).
Where it shows up
Cross-driver ODBC comparator (Simba vs OSS databricks-odbc), on a column of each geo type:
Column
Reference (Simba) type_name
OSS ODBC type_name
geometry column
GEOMETRY(0)
GEOMETRY
geography column
GEOGRAPHY(4326)
GEOGRAPHY
Root cause (in the kernel, not the ODBC driver)
The ODBC driver derives a column's reported type from the manifest type_name / type_text it receives from the kernel. For parameterized types the kernel does carry the parameters in type_text (e.g. DECIMAL(10,2), VARCHAR(10)), and the ODBC driver parses those. But for GEOMETRY / GEOGRAPHY the manifest type_text is bare — the SRID is not included — so the ODBC driver has nothing to report. (Kernel maps both to JDBC_OTHER with no SRID parsing in type_mapping.rs.)
So the SRID (0 for GEOMETRY, 4326/WGS84 for GEOGRAPHY here) is data the kernel does not expose in the column manifest today.
Ask
Surface the SRID in the geo column's manifest type_text (e.g. GEOMETRY(0), GEOGRAPHY(4326)), matching the reference driver, so every downstream xDBC driver (ODBC/ADBC/PyO3/napi) can report it consistently. Reference: databricks-odbc comparator finding (GEOMETRY/GEOGRAPHY SRID). ODBC driver already parses parenthesized type params, so once the kernel provides it the ODBC side likely needs little/no change.
This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
Activity
github-actions commentedon Sep 10, 2026
This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
github-actions commentedon Oct 11, 2026
This issue has been marked as Stale because it has been open for 30 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue.
github-actions commentedon Oct 19, 2026
This issue was closed because it has been inactive for 7 days since being marked as stale.