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/09/02 07:49:36 UTC
[I] WKB import rejects LargeBinary storage [sedona-db]
jiayuasu opened a new issue, #1215:
URL: https://github.com/apache/sedona-db/issues/1215
## Summary
Importing WKB whose Arrow storage is `LargeBinary` fails:
```
SedonaDB internal error: Expected Wkb type with Binary storage but got LargeBinary.
```
Reproducer through a literal (the same applies to any LargeBinary-backed `geoarrow.wkb` input):
```python
import geoarrow.pyarrow as ga, pyarrow as pa
from shapely.geometry import Point
from sedonadb.expr import lit
df.select(lit(pa.array([Point(1, 1).wkb], ga.large_wkb())))
```
`ga.large_wkb()` is a public GeoArrow type, and sources such as Iceberg return BLOB columns as LargeBinary, so this shows up with real data, not only constructed literals.
## Expected
WKB with `LargeBinary` storage is accepted wherever `Binary`-backed WKB is, keeping the CRS and edge-type metadata of the extension type.
## Related
- #1195 works around this on the Python side by rebuilding the type on `Binary` storage (with the same CRS and edge type) before resolving the literal; that can go once the importer accepts LargeBinary.
--
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] WKB import rejects LargeBinary storage [sedona-db]
Posted by "paleolimbot (via GitHub)" <gi...@apache.org>.
paleolimbot closed issue #1215: WKB import rejects LargeBinary storage
URL: https://github.com/apache/sedona-db/issues/1215
--
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