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: add hint for ALTER PARTITION OF INDEX error #40720

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

solongordon
Copy link
Contributor

@solongordon solongordon commented Sep 12, 2019

If a user accidentally passes a table name (or some other non-existent
index name) to ALTER PARTITION ... OF INDEX, they now get a helpful hint
suggesting that the use the <tablename>@<indexname> syntax to specify
the index.

Fixes #39477

Release note: None

If a user accidentally passes a table name (or some other non-existent
index name) to ALTER PARTITION ... OF INDEX, they now get a helpful hint
suggesting that the use the <tablename>@<indexname> syntax to specify
the index.

Fixes cockroachdb#39477

Release note: None
@solongordon solongordon requested review from rohany and a team September 12, 2019 18:25
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@solongordon
Copy link
Contributor Author

Release justification: Low risk error messaging improvement.

@rohany
Copy link
Contributor

rohany commented Sep 12, 2019

lgtm

@solongordon
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Sep 12, 2019
40720: sql: add hint for ALTER PARTITION OF INDEX error r=solongordon a=solongordon

If a user accidentally passes a table name (or some other non-existent
index name) to ALTER PARTITION ... OF INDEX, they now get a helpful hint
suggesting that the use the `<tablename>@<indexname>` syntax to specify
the index.

Fixes #39477

Release note: None

Co-authored-by: Solon Gordon <solon@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Sep 12, 2019

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.

sql: update error message when zone configs not applied
3 participants