You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "jiayuasu (via GitHub)" <gi...@apache.org> on 2026/07/29 07:16:12 UTC
[I] [BUG]: ST_Envelope fails on empty Geography [sedona]
jiayuasu opened a new issue, #3201:
URL: https://github.com/apache/sedona/issues/3201
### Problem
Geography `ST_Envelope` fails on empty inputs:
```sql
SELECT ST_AsText(
ST_Envelope(ST_GeogFromWKT('POINT EMPTY', 4326), false)
);
```
The function asks S2 for a rectangular bound before handling the empty value, which can expose invalid/NaN sentinel coordinates and throw.
### Expected behavior
- Return the empty input Geography unchanged, matching Sedona's existing Geometry `ST_Envelope` behavior for typed empty values.
- Preserve the input type and SRID.
- Behave the same for both values of `splitAtAntiMeridian`.
- Continue returning `NULL` for a SQL `NULL` input.
This was discovered while reviewing the coincident-line envelope behavior in the Geography `ST_MakeLine` pull request.
--
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: issues-unsubscribe@sedona.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG]: ST_Envelope fails on empty Geography [sedona]
Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #3201: [BUG]: ST_Envelope fails on empty Geography
URL: https://github.com/apache/sedona/issues/3201
--
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: issues-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org