yutannihilation commented on PR #275:
URL: https://github.com/apache/sedona-db/pull/275#issuecomment-3506710461
(Just a side note)
After I commented above, I started to wonder if it's really fine to skip
invoking the actual logic. For example, should `ST_GeomFromText()` reject
invalid WKT inputs when the SRID is `NULL`? But, it seems PostGIS also skips
any checks, so it should be fine.
```
postgres=# SELECT ST_GeomFromText('point (1 1', null);
st_geomfromtext
-----------------
(1 row)
postgres=# SELECT ST_GeomFromText('point (1 1');
ERROR: parse error - invalid geometry
HINT: "point (1 1" <-- parse error at position 12 within geometry
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]