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/schemachanger: reorder args on Build, clone nodes, minor renaming #66837

Merged
merged 4 commits into from
Jun 28, 2021

Conversation

ajwerner
Copy link
Contributor

Release note: None

@ajwerner ajwerner requested a review from fqazi June 24, 2021 13:24
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

Reviewed 9 of 9 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)

@ajwerner ajwerner requested a review from a team June 24, 2021 14:01
Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

Reviewed 17 of 17 files at r2, 12 of 12 files at r3.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)


pkg/sql/schemachanger/scbuild/builder.go, line 67 at r3 (raw file):

	// outputNodes contains the internal state when building targets for an individual
	// statement.
	outputNodes scpb.State

Nit: Do we want to rename these to outputState?


pkg/sql/schemachanger/scbuild/builder.go, line 117 at r3 (raw file):

func Build(
	ctx context.Context, dependencies Dependencies, initial scpb.State, n tree.Statement,
) (outputNodes scpb.State, err error) {

Nit: Similar here


pkg/sql/schemachanger/scbuild/builder_test.go, line 97 at r3 (raw file):

				stmts, err := parser.Parse(d.Input)
				require.NoError(t, err)
				var outputNodes scpb.State

Nit: rename


pkg/sql/schemachanger/scplan/plan_test.go, line 97 at r3 (raw file):

				stmts, err := parser.Parse(d.Input)
				require.NoError(t, err)
				var outputNodes scpb.State

Nit: outputState?

Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r4.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)

@ajwerner ajwerner force-pushed the ajwerner/tiny-comment-things branch from d27186f to 92dfe55 Compare June 24, 2021 14:22
@ajwerner
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 24, 2021

Build failed (retrying...):

@ajwerner
Copy link
Contributor Author

bors r-

@craig
Copy link
Contributor

craig bot commented Jun 24, 2021

Canceled.

@ajwerner ajwerner force-pushed the ajwerner/tiny-comment-things branch from 92dfe55 to 63c4c10 Compare June 28, 2021 13:23
@ajwerner ajwerner force-pushed the ajwerner/tiny-comment-things branch from 63c4c10 to 06dc96e Compare June 28, 2021 14:25
@ajwerner
Copy link
Contributor Author

bors r=fqazi

@craig
Copy link
Contributor

craig bot commented Jun 28, 2021

Build succeeded:

@craig craig bot merged commit 53dcc3a into cockroachdb:master Jun 28, 2021
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