Repository navigation
Correct cardinality in join output - #24061
Merged
Merged
Conversation
vdimir
marked this pull request as ready for review
May 15, 2021 14:11
Member
Author
|
@Mergifyio update |
Contributor
|
Command
|
Member
Author
|
|
vdimir
marked this pull request as draft
June 15, 2021 09:08
This reverts commit 64e8f82.
Member
Author
|
I suppose it will be ok after merging fix from #25321 UPD: branch merged to current PR |
vdimir
marked this pull request as ready for review
June 17, 2021 10:28
Avogar
approved these changes
Jun 17, 2021
vdimir
commented
Jun 18, 2021
| const auto & dict_type = typeid_cast<const DataTypeLowCardinality *>(column.type.get())->getDictionaryType(); | ||
| column.type = std::make_shared<DataTypeLowCardinality>(removeNullable(dict_type)); | ||
|
|
||
| ColumnLowCardinality * col_as_lc = typeid_cast<ColumnLowCardinality *>(column.column->assumeMutable().get()); |
Member
Author
There was a problem hiding this comment.
Forgot to change assumeMutable to IColumn::mutate here, like in convertColumnToNullable. I'll create new PR for it now.
This was referenced Jun 18, 2021
This was referenced Jun 18, 2021
robot-clickhouse
pushed a commit
that referenced
this pull request
Jun 21, 2021
robot-clickhouse
pushed a commit
that referenced
this pull request
Jun 21, 2021
robot-clickhouse
pushed a commit
that referenced
this pull request
Jun 21, 2021
vdimir
added a commit
that referenced
this pull request
Jun 29, 2021
Partial backport #24061 to 21.6
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):
Column cardinality in join output same as at the input, close #23351, close #20315