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

partitionccl: error instead of panic for an invalid partitioning #37689

Merged
merged 1 commit into from
May 21, 2019

Conversation

danhhz
Copy link
Contributor

@danhhz danhhz commented May 21, 2019

If a PARTITION BY LIST both didn't match the column names in the index
being partitioned and also tried to partition by more columns than were
in the index, we previously panic'd when constructing the error.

Closes #37682

Release note (bug fix): Fixed a panic when construting the error message
for an invalid partitioning.

If a PARTITION BY LIST both didn't match the column names in the index
being partitioned and also tried to partition by more columns than were
in the index, we previously panic'd when constructing the error.

Closes cockroachdb#37682

Release note (bug fix): Fixed a panic when construting the error message
for an invalid partitioning.
@danhhz danhhz requested review from jordanlewis, justinj and a team May 21, 2019 15:43
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@justinj justinj left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

Copy link
Member

@jordanlewis jordanlewis left a comment

Choose a reason for hiding this comment

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

LGTM, thank you Dan!

@danhhz
Copy link
Contributor Author

danhhz commented May 21, 2019

TFTRs!

bors r=justinj,jordanlewis

craig bot pushed a commit that referenced this pull request May 21, 2019
37673: roachtest: skip kv/gracefuldraining r=nvanbenschoten a=tbg

I should've done this a long time ago, it's been flaky for five months
and failed approximately 120 times (i.e. most of the time).

See #33501 (comment)

Release note: None

37689: partitionccl: error instead of panic for an invalid partitioning r=justinj,jordanlewis a=danhhz

If a PARTITION BY LIST both didn't match the column names in the index
being partitioned and also tried to partition by more columns than were
in the index, we previously panic'd when constructing the error.

Closes #37682

Release note (bug fix): Fixed a panic when construting the error message
for an invalid partitioning.

Co-authored-by: Tobias Schottdorf <[email protected]>
Co-authored-by: Daniel Harrison <[email protected]>
@craig
Copy link
Contributor

craig bot commented May 21, 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
4 participants