Skip to content

Potential typo in SedonaSnow tutorial #1954

@cgauvi

Description

@cgauvi

I'm following the latest SedonaSnow tutorial, and I think the following will fail as ST_Distance will resolve to Snowflake's native ST_Distance function

SELECT geom, ST_Distance(Sedona.ST_Point(1.0, 1.0), geom) AS distance
FROM city_tbl_geom
ORDER BY distance DESC
LIMIT 5

I get (as expected) Invalid argument types for function 'ST_DISTANCE': (BINARY(67108864), BINARY(8388608))
Changing this to

SELECT geom, Sedona.ST_Distance(Sedona.ST_Point(1.0, 1.0), geom) AS distance
FROM city_tbl_geom
ORDER BY distance DESC
LIMIT 5

gives the presumably expected result

Image

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