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: switch table and index in EXPLAIN (DISTSQL) diagrams #52085

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

yuzefovich
Copy link
Member

@yuzefovich yuzefovich commented Jul 29, 2020

This commit switches from index@table to table@index to be in line
with how index hints are given.

Release note (sql change): EXPLAIN (DISTSQL) diagrams have been
updated by switching table name with index name (previously, we had
syntax index@table, and now we have table@index).

@yuzefovich yuzefovich requested review from RaduBerinde and a team July 29, 2020 20:58
@yuzefovich yuzefovich requested a review from a team as a code owner July 29, 2020 20:58
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@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.

:lgtm: I was just confused about this the other day, I was thinking "is there really a table called primary?"

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

This commit switches from `index@table` to `table@index` to be in line
with how index hints are given.

Release note (sql change): `EXPLAIN (DISTSQL)` diagrams have been
updated by switching table name with index name (previously, we had
syntax `index@table`, and now we have `table@index`).
Copy link
Member Author

@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.

:)

TFTR!

bors r+

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

@craig
Copy link
Contributor

craig bot commented Jul 30, 2020

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 30, 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