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

importccl: disallow IMPORT TABLE with expression indexes #67897

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

mgartner
Copy link
Collaborator

This commit adds an explanatory error message when a user tries to
execute an IMPORT TABLE statement with an expression index.
Previously, the error confusingly read "unimplemented: only simple
columns are supported as index elements". Now it reads "unimplemented:
to import into a table with expression indexes, use IMPORT INTO".

Release note: None

This commit adds an explanatory error message when a user tries to
execute an `IMPORT TABLE` statement with an expression index.
Previously, the error confusingly read "unimplemented: only simple
columns are supported as index elements". Now it reads "unimplemented:
to import into a table with expression indexes, use IMPORT INTO".

Release note: None
@mgartner mgartner requested review from adityamaru and a team July 22, 2021 01:59
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@mgartner
Copy link
Collaborator Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Jul 22, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jul 22, 2021

Build succeeded:

@craig craig bot merged commit 15d3c04 into cockroachdb:master Jul 22, 2021
@mgartner mgartner deleted the import-expression-index branch July 23, 2021 22:37
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