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: change SPLIT AT to take a select statement #14281

Merged
merged 2 commits into from
Mar 21, 2017

Conversation

RaduBerinde
Copy link
Member

@RaduBerinde RaduBerinde commented Mar 20, 2017

SPLIT AT now takes an arbitrary select statement. Existing uses must switch to
using VALUES; e.g. ALTER TABLE t SPLIT AT (x, y) becomes ALTER TABLE t SPLIT AT VALUES (x, y).

Part of #13665, implements part of RFC #14146.

I will open up PRs to correct SPLIT AT usage in examples-go and loadgen repos. Any other repos we need to fix (other than docs)? Jepsen?

CC @andreimatei @knz @mjibson


This change is Reviewable

@knz
Copy link
Contributor

knz commented Mar 21, 2017

Yes this: https://github.com/jepsen-io/jepsen/blob/master/cockroachdb/src/jepsen/cockroach/client.clj#L306

you can send a PR aphyr will probably take it right away

@knz knz self-requested a review March 21, 2017 00:36
RaduBerinde added a commit to RaduBerinde/examples-go that referenced this pull request Mar 21, 2017
RaduBerinde added a commit to RaduBerinde/loadgen that referenced this pull request Mar 21, 2017
RaduBerinde added a commit to RaduBerinde/loadgen that referenced this pull request Mar 21, 2017
RaduBerinde added a commit to RaduBerinde/jepsen that referenced this pull request Mar 21, 2017
The syntax of SPLIT AT is being changed in
cockroachdb/cockroach#14281.
Renaming to match the corresponding test file.
`SPLIT AT` now takes an arbitrary select statement. Existing uses must switch to
using `VALUES`; e.g. `ALTER TABLE t SPLIT AT (x, y)` becomes `ALTER TABLE t
SPLIT AT VALUES (x, y)`.

Part of cockroachdb#13665, implements part of RFC cockroachdb#14146.
@RaduBerinde RaduBerinde merged commit 1fc0006 into cockroachdb:master Mar 21, 2017
@RaduBerinde RaduBerinde deleted the split-at-select branch March 21, 2017 21:00
RaduBerinde added a commit to RaduBerinde/jepsen that referenced this pull request Mar 31, 2017
The syntax of SPLIT AT is being changed in
cockroachdb/cockroach#14281.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants