cockroachdb / cockroach

CockroachDB - the open source, cloud-native distributed SQL database.

Home Page:https://www.cockroachlabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sql: support same as (~=) bounding box operator

timgraham opened this issue · comments

It should adopt PostGIS behavior:
https://postgis.net/docs/ST_Geometry_Same.html

Currently it fails like this:

psycopg2.errors.SyntaxError: at or near "=": syntax error
DETAIL:  source SQL:
SELECT "geoapp_state"."id", "geoapp_state"."name", "geoapp_state"."poly"::bytea FROM "geoapp_state" WHERE "geoapp_state"."poly" ~= ST_GeomFromEWKB('\x0101000020e6100000000000000000f03f000000000000f03f'::bytea)

Jira issue: CRDB-2866

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

It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates.

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

  • @rafiss (found keywords: psycopg2)

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.

We have marked this issue as stale because it has been inactive for
18 months. If this issue is still relevant, removing the stale label
or adding a comment will keep it active. Otherwise, we'll close it in
10 days to keep the issue queue tidy. Thank you for your contribution
to CockroachDB!

Still a valid issue.