Skip to content

c/sedona-proj: ST_Transform() fails planning with placeholder #663

@paleolimbot

Description

@paleolimbot

With a placeholder, the initial argument type is NULL which causes the planning process to fail:

import pyproj
import sedona.db

sd = sedona.db.connect()

url = "https://github.com/geoarrow/geoarrow-data/releases/download/v0.2.0/microsoft-buildings_point.parquet"
crs = pyproj.CRS('ESRI:102005').to_json()
sd.read_parquet(url).to_view("buildings")
sd.sql("""SELECT ST_Transform(geometry, $1) AS geometry FROM buildings""", params=(crs, ))
#> SedonaError: st_transform([WkbView(Planar, Some(AuthorityCode { auth_code: "OGC:CRS84" })), Arrow(Null)]): No kernel matching arguments

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions