Creating either one of the following geometries fails with the following error on SedonaDB, even though they succeed on PostGIS. This behavior occurs in the cli, the tests, etc.
select st_geomfromtext('GEOMETRYCOLLECTION Z (POINT (1 2 3))')
-- fails
select st_geomfromtext('GEOMETRYCOLLECTION (POINT (1 2 3))');
-- postgis infers this to be xyz based on st_hasz, st_hasm calls
select st_geomfromtext('point (1 1 1)');
-- postgis infers this to be xyz based on st_hasz, st_hasm calls
Error:
Internal error: WKT parse error: Missing closing parenthesis for type.
This issue was likely caused by a bug in DataFusion's code. Please help us to resolve this by filing a bug report in our issue tracker: https://github.com/apache/datafusion/issues
(Ignore that it misleadingly says "Datafusion's code")