You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix null representation in serialization of replicated and sparse columns - #102888
SerializationReplicated (and also SerializationSparse) did not have an override for serializeTextRaw and would fall back serializeText which led to not respecting settings like format_tsv_null_representation.
This change adds the overrides and adjusts the affected tpcds test references
This PR fixes TabSeparatedRaw null rendering for columns using SerializationReplicated and SerializationSparse by adding explicit serializeTextRaw/deserializeTextRaw overrides and updating stateless tests. I reviewed the serialization changes and test updates for correctness, safety, and compatibility, and did not find actionable issues.
Hi — this PR may need backporting to 26.3 (LTS), 26.2, 26.1, but no backport label was found.
Affected code:SerializationReplicated::serializeTextRaw and SerializationSparse::serializeTextRaw — introduced in 25.10.
Why:allow_special_serialization_kinds_in_output_formats was enabled by default in 25.11 (SettingsChangesHistory.cpp). SerializationReplicated was introduced in 25.10. Both features exist in 26.1, 26.2, and 26.3 branches. The 25.8 branch predates both features and is not affected.
Other supported branches (25.8) predate 25.10 and do not contain this code.
If this should be backported, consider adding pr-must-backport or a version-specific label (e.g. v26.3-must-backport). Ignore this if backporting is not applicable.
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
pr-bugfixPull request with bugfix, not backported by defaultpr-synced-to-cloudThe PR is synced to the cloud repo
4 participants
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.
SerializationReplicated (and also SerializationSparse) did not have an override for serializeTextRaw and would fall back serializeText which led to not respecting settings like format_tsv_null_representation.
This change adds the overrides and adjusts the affected tpcds test references
Closes #95168
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Make null representation in serialization of replicated and sparse columns respect settings (e.g. format_tsv_null_representation)
Documentation entry for user-facing changes
Version info
26.4.1.1002