paleolimbot opened a new pull request, #847:
URL: https://github.com/apache/sedona-db/pull/847
Propagates type parameters from the input to the output for ST_Dump, which
is a bit more involved than some of the other functions because it returns a
list of a struct. Before, the geometry in the output always had a missing CRS
and didn't support geography.
```python
import sedona.db
sd = sedona.db.connect()
tab = sd.sql("SELECT ST_Dump(ST_GeomFromText('MULTIPOINT (0 1, 2 3)', 4326))
as dumped").to_arrow_table()
tab["dumped"].type.value_type.field("geom").type
#> WkbType(geoarrow.wkb <StringCrs(OGC:CRS84)>)
```
--
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]