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: remove unnecessary stmtType from explain code #51585

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

RaduBerinde
Copy link
Member

The tree.StatementType is not needed for EXPLAIN (PLAN) or
(VEC). I believe it is only necessary for EXPLAIN ANALYZE (when we
actually run the query).

This commit removes the plumbing of stmtType from the paths where it
is not necessary.

Release note: None

The `tree.StatementType` is not needed for `EXPLAIN (PLAN)` or
`(VEC)`. I believe it is only necessary for `EXPLAIN ANALYZE` (when we
actually run the query).

This commit removes the plumbing of `stmtType` from the paths where it
is not necessary.

Release note: None
@RaduBerinde RaduBerinde requested a review from yuzefovich July 19, 2020 03:16
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@yuzefovich yuzefovich 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 3 of 3 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@RaduBerinde
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 20, 2020

Build succeeded

@craig craig bot merged commit a0123f1 into cockroachdb:master Jul 20, 2020
@RaduBerinde RaduBerinde deleted the no-stmt-type branch July 23, 2020 19:59
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