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

builtins: implement ST_Points #53496

Merged
merged 1 commit into from
Aug 27, 2020
Merged

Conversation

erikgrinaker
Copy link
Contributor

Release note (sql change): Implement the geometry builtin ST_Points.

Closes #49009.

@blathers-crl
Copy link

blathers-crl bot commented Aug 26, 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 26, 2020
@blathers-crl blathers-crl bot requested a review from otan August 26, 2020 19:07
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@blathers-crl
Copy link

blathers-crl bot commented Aug 26, 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.

just a heads up -- i will probably have to get you to rebase this on top of #53446.

@otan
Copy link
Contributor

otan commented Aug 26, 2020

you'll also need to add a Release justification at this stage in your commit message and PR description -- builtins fall under "low risk, high benefit" changes (this should appear automatically in your commit template when you rebase and amend commit)

We're in a period of stability right now, but the release branch has not been cut yet.

@erikgrinaker
Copy link
Contributor Author

Sure, I'll update this once #53446 lands.

@otan
Copy link
Contributor

otan commented Aug 26, 2020

It has landed!

Release note (sql change): Implement the geometry builtin `ST_Points`.

Release justification: low risk, high benefit changes to existing functionality
@erikgrinaker
Copy link
Contributor Author

Test failure seems unrelated:

[13:22:47]Run local roachtests (13m:45s)
[13:32:50][Run local roachtests] I200827 13:32:51.212715 21802 util/binfetcher/binfetcher.go:167  [w0] downloading https://binaries.cockroachdb.com/cockroach-v20.1.4.linux-amd64.tgz?ci=true to /go/src/github.com/cockroachdb/cockroach/artifacts/cockroach-v20.1.4.linux-amd64
[13:35:49][Run local roachtests] The service message is invalid because it does not end with ] character: ##teamcity[testFailed name='cdc/bank' details='test artifacts and logs in: artifacts/cdc/bank/run_1|n	cluster.go:2183,cdc.go:636,cdc.go:224,cdc.go:607,test_runner.go:754: output in run_133418.400_n4_for_i_in: /go/src/github.com/cockroachdb/cockroach/bin/roachprod run local:4 -- for i in $(seq 1 5); do curl --retry 3 --retry-delay 1 -o /tmp/confluent.tar.gz https://storage.googleapis.com/cockroach-fixtures/tools/confluent-oss-4.0.0-2.11.tar.gz && break |||| sleep 15; done && tar xvf /tmp/confluent.tar.gz -C /tmp/confluent returned: exit status 20|n		(1) attached stack trace|n		  -- stack trace:|n		  || main.(*cluster).RunE|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2261|n		  || main.(*cluster).Run|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2181|n		  || main.kafkaManager.install|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:636|n		  || main.runCDCBank|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:224|n		  || main.registerCDC.func8|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:607|n		  || main.(*testRunner).runTest.func2|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:754|n		  || runtime.goexit|n		  || 	/usr/local/go/src/runtime/asm_amd64.s:1357|n		Wraps: (2) output in run_133418.400_n4_for_i_in|n		Wraps: (3) /go/src/github.com/cockroachdb/cockroach/bin/roachprod run local:4 -- for i in $(seq 1 5); do curl --retry 3 --retry-delay 1 -o /tmp/confluent.tar.gz https://storage.googleapis.com/cockroach-fixtures/tools/confluent-oss-4.0.0-2.11.tar.gz && break |||| sleep 15; done && tar xvf /tmp/confluent.tar.gz -C /tmp/confluent returned|n		  || stderr:|n		  || Speed   Time    Time     Time  Current|n		  ||                                  Dload  Upload   Total   Spent    Left  Speed|n		  || 
[13:35:49][Run local roachtests] The service message is invalid because it does not end with ] character: ##teamcity[testFailed name='cdc/bank' details='test artifacts and logs in: artifacts/cdc/bank/run_1|n	cluster.go:2183,cdc.go:636,cdc.go:224,cdc.go:607,test_runner.go:754: output in run_133418.400_n4_for_i_in: /go/src/github.com/cockroachdb/cockroach/bin/roachprod run local:4 -- for i in $(seq 1 5); do curl --retry 3 --retry-delay 1 -o /tmp/confluent.tar.gz https://storage.googleapis.com/cockroach-fixtures/tools/confluent-oss-4.0.0-2.11.tar.gz && break |||| sleep 15; done && tar xvf /tmp/confluent.tar.gz -C /tmp/confluent returned: exit status 20|n		(1) attached stack trace|n		  -- stack trace:|n		  || main.(*cluster).RunE|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2261|n		  || main.(*cluster).Run|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster.go:2181|n		  || main.kafkaManager.install|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:636|n		  || main.runCDCBank|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:224|n		  || main.registerCDC.func8|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cdc.go:607|n		  || main.(*testRunner).runTest.func2|n		  || 	/go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test_runner.go:754|n		  || runtime.goexit|n		  || 	/usr/local/go/src/runtime/asm_amd64.s:1357|n		Wraps: (2) output in run_133418.400_n4_for_i_in|n		Wraps: (3) /go/src/github.com/cockroachdb/cockroach/bin/roachprod run local:4 -- for i in $(seq 1 5); do curl --retry 3 --retry-delay 1 -o /tmp/confluent.tar.gz https://storage.googleapis.com/cockroach-fixtures/tools/confluent-oss-4.0.0-2.11.tar.gz && break |||| sleep 15; done && tar xvf /tmp/confluent.tar.gz -C /tmp/confluent returned|n		  || stderr:|n		  || Speed   Time    Time     Time  Current|n		  ||                                  Dload  Upload   Total   Spent    Left  Speed|n		  || 
[13:36:30][Run local roachtests] Error: some tests failed
[13:36:30][Run local roachtests] Process exited with code 1

@otan
Copy link
Contributor

otan commented Aug 27, 2020

bors r+

@craig
Copy link
Contributor

craig bot commented Aug 27, 2020

Build succeeded:

@craig craig bot merged commit 1f1ac2e into cockroachdb:master Aug 27, 2020
@erikgrinaker erikgrinaker deleted the st_points branch March 19, 2021 14:11
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_Points({geometry})
3 participants