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

sql: gate certain box2d comparison ops by a cluster setting #52990

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

otan
Copy link
Contributor

@otan otan commented Aug 18, 2020

Release note (sql change): box2d comparison operators are now gated by
the cluster setting
sql.spatial.experimental_box2d_comparison_operators.enabled.

@otan otan requested review from rytaft and a team August 18, 2020 18:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@otan otan force-pushed the version_gate_operators branch 4 times, most recently from 6724b46 to c4833a6 Compare August 18, 2020 22:30
Copy link
Collaborator

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

:lgtm:

Do you think it's worth also adding a session setting?

Reviewed 1 of 3 files at r1, 2 of 2 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@otan
Copy link
Contributor Author

otan commented Aug 18, 2020

i tried that initially -- the session setting doesn't help if the parameter operates on a remote processor AFAICT.

@otan otan force-pushed the version_gate_operators branch from c4833a6 to 6a57f01 Compare August 18, 2020 23:03
@rytaft
Copy link
Collaborator

rytaft commented Aug 18, 2020

Did you mean to increment the server version here? Or was that meant for another PR?

i tried that initially -- the session setting doesn't help if the parameter operates on a remote processor AFAICT.

That's surprising... but I don't know enough about how these settings are passed around so I'll take your word for it. The cluster setting is more important anyway.

@otan
Copy link
Contributor Author

otan commented Aug 18, 2020

oops, yeah. thanks for the catch.

@otan otan force-pushed the version_gate_operators branch 2 times, most recently from c4833a6 to 763d825 Compare August 18, 2020 23:46
Copy link
Collaborator

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r3, 4 of 4 files at r4.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Release note (sql change): box2d comparison operators are now gated by
the cluster setting
`sql.spatial.experimental_box2d_comparison_operators.enabled`.
@otan otan force-pushed the version_gate_operators branch from 763d825 to d60618d Compare August 19, 2020 03:05
@otan
Copy link
Contributor Author

otan commented Aug 19, 2020

bors r=rytaft

@craig
Copy link
Contributor

craig bot commented Aug 19, 2020

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants