paleolimbot opened a new issue, #983: URL: https://github.com/apache/sedona-db/issues/983
Surfaced when writing the release post: ```python import sedona.db sd = sedona.db.connect() countries_url = "https://raw.githubusercontent.com/geoarrow/geoarrow-data/v0.2.0/natural-earth/files/natural-earth_countries.parquet" countries = sd.read(countries_url).alias("countries") countries.select( countries.name, countries.continent, geometry=countries.geometry.geo.to_geography() ).to_parquet("countries-geog.parquet", sort_by="geometry", max_row_group_size=10_000) # SedonaSchema with 3 fields: # name: utf8<Utf8View> # continent: utf8<Utf8View> # geometry: geography<WkbView(ogc:crs84, Spherical)> from pyarrow import parquet parquet.ParquetFile("countries-geog.parquet").schema # <pyarrow._parquet.ParquetSchema object at 0x13141d340> # required group field_id=-1 arrow_schema { # optional binary field_id=-1 name (String); # optional binary field_id=-1 continent (String); # optional binary field_id=-1 geometry; # } ``` I am guessing this has to do with the invalid metadata that is required to work around an arrow-rs bug (that was recently fixed but won't be available for a few future DataFusion versions. -- 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]
