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/geomfn: implement ST_SymDifference #53636

Merged
merged 1 commit into from
Aug 30, 2020

Conversation

CyrusJavan
Copy link
Contributor

@CyrusJavan CyrusJavan commented Aug 29, 2020

Added ST_SymDifference builtin.

Release note (sql change): Implemented the geometry based builtin
ST_SymDifference.

Release justification: low-risk update to new functionality

Resolves: #49051

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Aug 29, 2020

CLA assistant check
All committers have signed the CLA.

@blathers-crl
Copy link

blathers-crl bot commented Aug 29, 2020

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

I have added a few people who may be able to assist in reviewing:

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

@blathers-crl blathers-crl bot added O-community Originated from the community X-blathers-triaged blathers was able to find an owner labels Aug 29, 2020
@blathers-crl blathers-crl bot requested a review from otan August 29, 2020 19:40
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Added ST_SymDifference builtin.

Release justification: low-risk update to new functionality
Release note (sql change): Implemented the geometry based builtin
`ST_SymDifference`.

Resolves: cockroachdb#49051
@blathers-crl
Copy link

blathers-crl bot commented Aug 29, 2020

Thank you for updating your pull request.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

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

Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you.
Feel free to have a follow up PR alias SymmetricDifference to SymDifference in the alias map of initGeoBuiltins!

@@ -66,7 +66,7 @@ func Intersection(a geo.Geometry, b geo.Geometry) (geo.Geometry, error) {
return geo.ParseGeometryFromEWKB(retEWKB)
}

// Union returns the geometries of intersection between A and B.
// Union returns the geometries of union between A and B.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@otan
Copy link
Contributor

otan commented Aug 30, 2020

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 30, 2020

Build succeeded:

@craig craig bot merged commit cd8267c into cockroachdb:master Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-community Originated from the community X-blathers-triaged blathers was able to find an owner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

geo/geomfn: implement ST_SymDifference({geometry,geometry})
3 participants