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

pkg: Add check disallowing IMPORT INTO a table with secondary indexes. #38327

Merged

Conversation

adityamaru27
Copy link
Contributor

IMPORT INTO will break secondary indexes in the target table as
described in issue #38044. This check prevents users from
running into this issue until it is resolved.

Release note: None

IMPORT INTO will break secondary indexes in the target table as
described in issue cockroachdb#38044. This check prevents users from
running into this issue until it is resolved.

Release note: None
@adityamaru27 adityamaru27 requested review from dt, rolandcrosby and a team June 20, 2019 19:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link

@rolandcrosby rolandcrosby left a comment

Choose a reason for hiding this comment

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

Thanks Aditya!

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

Copy link
Member

@dt dt 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 r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@adityamaru27
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 20, 2019
38327: pkg: Add check disallowing IMPORT INTO a table with secondary indexes. r=adityamaru27 a=adityamaru27

IMPORT INTO will break secondary indexes in the target table as
described in issue #38044. This check prevents users from
running into this issue until it is resolved.

Release note: None

Co-authored-by: Aditya Maru <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 20, 2019

Build succeeded

@craig craig bot merged commit 9081bd6 into cockroachdb:master Jun 20, 2019
@adityamaru27 adityamaru27 deleted the import_into_usage_restriction branch June 20, 2019 20:12
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.

4 participants