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

opt: support ALTER TABLE UNSPLIT and EXPERIMENTAL_RELOCATE #38653

Merged
merged 2 commits into from
Jul 4, 2019

Conversation

RaduBerinde
Copy link
Member

opt: support ALTER TABLE UNSPLIT

Support for ALTER TABLE UNSPLIT (which has two variants).

Release note: None

opt: support EXPERIMENTAL_RELOCATE

Also fix the formatting of details for split/unsplit.

Release note: None

Informs #34848.

Support for ALTER TABLE UNSPLIT (which has two variants).

Release note: None
@RaduBerinde RaduBerinde requested review from justinj and a team July 3, 2019 14:06
@RaduBerinde RaduBerinde requested a review from a team as a code owner July 3, 2019 14:06
@RaduBerinde RaduBerinde requested a review from a team July 3, 2019 14:06
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@justinj justinj left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @justinj and @RaduBerinde)


pkg/sql/opt/optbuilder/alter_table.go, line 116 at r1 (raw file):

	// Calculate the desired types for the select statement. It is OK if the
	// select statement returns fewer columns (the relevant prefix is used).

nit: s/select statement/input expression/? It can be a VALUES, right?

Also fix the formatting of details for split/unsplit.

Release note: None
Copy link
Member Author

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)


pkg/sql/opt/optbuilder/alter_table.go, line 116 at r1 (raw file):

Previously, justinj (Justin Jaffray) wrote…

nit: s/select statement/input expression/? It can be a VALUES, right?

Done, TFTR!

@RaduBerinde
Copy link
Member Author

bors r+

craig bot pushed a commit that referenced this pull request Jul 4, 2019
38653: opt: support ALTER TABLE UNSPLIT and EXPERIMENTAL_RELOCATE r=RaduBerinde a=RaduBerinde

#### opt: support ALTER TABLE UNSPLIT

Support for ALTER TABLE UNSPLIT (which has two variants).

Release note: None

#### opt: support EXPERIMENTAL_RELOCATE

Also fix the formatting of details for split/unsplit.

Release note: None


Informs #34848.

Co-authored-by: Radu Berinde <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jul 4, 2019

Build succeeded

@craig craig bot merged commit 852a6cb into cockroachdb:master Jul 4, 2019
@RaduBerinde RaduBerinde deleted the opt-unsplit branch July 8, 2019 20:01
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