Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geo/geogfn: unknown signature: st_distance(geography, geometry) #53720

Closed
timgraham opened this issue Aug 31, 2020 · 2 comments
Closed

geo/geogfn: unknown signature: st_distance(geography, geometry) #53720

timgraham opened this issue Aug 31, 2020 · 2 comments
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-community Originated from the community X-blathers-triaged blathers was able to find an owner

Comments

@timgraham
Copy link
Contributor

timgraham commented Aug 31, 2020

Describe the problem

PostGIS doesn't document that ST_Distance (implemented in #48395) has that signature but I guess it works.

To Reproduce

SELECT "geogapp_city"."name" FROM "geogapp_city"
WHERE ST_Distance("geogapp_city"."point", ST_GeomFromEWKB('...'::bytea)) <= 804672.0

Environment:

  • CockroachDB version 20.2 alpha 3
@blathers-crl
Copy link

blathers-crl bot commented Aug 31, 2020

Hello, I am Blathers. I am here to help you get the issue triaged.

Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.

I have CC'd a few people who may be able to assist you:

If we have not gotten back to your issue within a few business days, you can try the following:

  • Join our community slack channel and ask on #cockroachdb.
  • Try find someone from here if you know they worked closely on the area and CC them.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@blathers-crl blathers-crl bot added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-community Originated from the community X-blathers-triaged blathers was able to find an owner labels Aug 31, 2020
@otan
Copy link
Contributor

otan commented Aug 31, 2020

unknown signature: st_distance(geography, geometry)

this is because we don't have implicit casts (in particular, from geometry->geography :()
this would be a duplicate of #38965

@otan otan closed this as completed Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. O-community Originated from the community X-blathers-triaged blathers was able to find an owner
Projects
None yet
Development

No branches or pull requests

2 participants