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

Fix serializing LowCardinality as Arrow dictionary #48361

Merged
merged 4 commits into from
Apr 19, 2023

Conversation

Avogar
Copy link
Member

@Avogar Avogar commented Apr 3, 2023

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Fix serializing LowCardinality as Arrow dictionary when output_format_arrow_low_cardinality_as_dictionary is enabled. Previously it worked incorrectly and could produce invalid arrow files. Closes #48275

@Avogar Avogar marked this pull request as ready for review April 5, 2023 16:27
@yakov-olkhovskiy yakov-olkhovskiy self-assigned this Apr 12, 2023
Copy link
Member

@yakov-olkhovskiy yakov-olkhovskiy left a comment

Choose a reason for hiding this comment

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

LGTM
also see suggestion, but not that important...

src/Processors/Formats/Impl/CHColumnToArrowColumn.cpp Outdated Show resolved Hide resolved
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-bugfix Pull request with bugfix, not backported by default label Apr 17, 2023
@Avogar Avogar merged commit 8053b18 into ClickHouse:master Apr 19, 2023
136 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrow malformed LowCardinality dictionaries: ArrowIndexError
3 participants