Skip to content

rust/sedona-functions: Grouped ST_Envelope_Agg can fail #653

@paleolimbot

Description

@paleolimbot

I am guessing this was a result of the recent optimization:

Reprex:

import sedona.db 

sd = sedona.db.connect()

url = "https://github.com/geoarrow/geoarrow-data/releases/download/v0.2.0/ns-water_water-point.parquet"
sd.read_parquet(url).to_view("pts")

sd.sql("""SELECT COUNT(*) AS n, ST_Envelope_Agg(geometry) FROM pts GROUP BY "FEAT_CODE" """).show()
#> SedonaError: could not cast array of type Binary to arrow_array::array::byte_view_array::GenericByteViewArray<arrow_array::types::BinaryViewType>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions