Fix projection merges and mutations.#29337
Merged
nikitamikhaylov merged 3 commits intoClickHouse:masterfrom Sep 27, 2021
Merged
Fix projection merges and mutations.#29337nikitamikhaylov merged 3 commits intoClickHouse:masterfrom
nikitamikhaylov merged 3 commits intoClickHouse:masterfrom
Conversation
nikitamikhaylov
approved these changes
Sep 27, 2021
Collaborator
Author
|
btw, this PR should be backport to earlier versions without MergeTask and MutateTask. I don't know what's the proper way to achieve this. |
This was referenced Sep 27, 2021
This was referenced Sep 28, 2021
KochetovNicolai
added a commit
that referenced
this pull request
Oct 3, 2021
|
Hi! 2023.07.17 14:10:36.230305 [ 3947378 ] {} void DB::MergeTreeBackgroundExecutorDB::MergeMutateRuntimeQueue::routine(DB::TaskRuntimeDataPtr) [Queue = DB::MergeMutateRuntimeQueue]: Code: 49. DB::Exception: Number of rows in source parts (256704) differs from number of bytes written to rows_sources file (214282). It is a bug. (LOGICAL_ERROR), Stack trace (when copying this message, always include the lines below): This is the table schema |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix vertical merges of projection parts. This fixes #29253 . This PR also fixes several projection merge/mutation issues introduced in #25165
Detailed description / Documentation draft:
.