Skip to content

Serialize Nullable(Tuple) as a single CSV field - #108959

Merged
Avogar merged 6 commits into
ClickHouse:masterfrom
groeneai:fix-csv-nullable-tuple-separate-columns-107342
Jul 22, 2026
Merged

Avogar merged 6 commits into
ClickHouse:masterfrom
groeneai:fix-csv-nullable-tuple-separate-columns-107342

Conversation

@groeneai

@groeneai groeneai commented Jun 30, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #107342
Related: #107371

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 into CHANGELOG.md):

Serialize a Nullable(Tuple(...)) column as a single CSV field instead of flattening it into separate columns. Previously a non-null value was written as several CSV fields while a NULL was a single \N, giving a row-dependent column count that broke CSVWithNames/CSVWithNamesAndTypes headers and round-trips.

Description

Follow-up to #107371 (closed #107342), reported by @ Avogar.

#107371 made CSVWithNames(AndTypes) flatten Tuple columns in the header to match the data width. But a Nullable(Tuple(...)) value has a row-dependent width under the default output_format_csv_serialize_tuple_into_separate_columns = 1:

  • a non-null row delegates to the tuple serializer and is flattened into N fields;
  • a NULL row writes a single \N field.

The header was flattened to N columns, matching only the non-null rows, so NULL rows desynced the column count and the data did not round-trip (CANNOT_PARSE_INPUT):

SELECT number % 2 ? NULL : toNullable(tuple(1,2,3)) AS t
FROM numbers(4) FORMAT CSVWithNamesAndTypes;
-- before: header "t.1","t.2","t.3" but rows alternate `1,2,3` (3 fields) and `\N` (1 field)

Fix: keep a Nullable(Tuple) as a single quoted CSV value (it is not flattened), so every row — NULL or not — is exactly one field and the header stays one cell. A bare Tuple (not wrapped in Nullable) is still flattened as before. Input parsing is made symmetric so the value round-trips.

-- after:
"t"
"Nullable(Tuple(UInt8, UInt8, UInt8))"
"(1,2,3)"
\N
"(1,2,3)"
\N

Changes:

  • SerializationNullable::serializeTextCSV: when the nested serialization is a tuple, write it as a single CSV value (disable separate-columns serialization for the nested tuple).
  • SerializationNullable::deserializeTextCSV / tryDeserializeTextCSV: symmetric, so the single field reads back.
  • FlattenTupleForCSVHeader: no longer unwraps Nullable, so a Nullable(Tuple) header stays one cell.
  • CSVFormatReader::readField: removed the now-stale is_nullable_empty_tuple exception (from Fix Nullable(Tuple) not working with CSV, MsgPack format properly #100038). With the single-field serialization an empty CSV field is no longer a valid Nullable(Tuple()) value, so under the default input_format_csv_empty_as_default = 1 it becomes the nullable default (NULL), like every other Nullable type, instead of throwing while looking for (.
  • 04340_csv_with_names_tuple_header: updated the Nullable(Tuple) case to the new single-field behavior and added NULL/non-null width-consistency, a nested Nullable(Tuple(Tuple)) case, a round-trip-with-NULLs case, and empty-input-field -> NULL cases for Nullable(Tuple()) / Nullable(Tuple(Int32)).

Version info

  • Backported to: 26.7.5.5

A Nullable(Tuple(...)) had a row-dependent CSV width: a NULL row wrote a
single \N field, while a non-null row was flattened into separate columns
(N fields) under output_format_csv_serialize_tuple_into_separate_columns.
The CSVWithNames(AndTypes) header was flattened to N columns, matching only
the non-null rows, so NULL rows desynced the column count and the data did
not round-trip (CANNOT_PARSE_INPUT).

Keep a Nullable(Tuple) as a single quoted CSV value (it is not flattened),
so every row is exactly one field and the header stays one cell. A bare
Tuple (not wrapped in Nullable) is still flattened as before. Input is made
symmetric so the value round-trips.

Follow-up to ClickHouse#107371, reported by Avogar.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. clickhouse-local -q "SELECT number % 2 ? NULL : toNullable(tuple(1,2,3)) AS t FROM numbers(4) FORMAT CSVWithNamesAndTypes" deterministically emits a 3-cell header/types row + alternating 1,2,3 (3 cells) and \N (1 cell). Round-trip via file() fails with Code 27 CANNOT_PARSE_INPUT on every run.
b Root cause explained? SerializationNullable::serializeTextCSV writes a single \N for a NULL but delegates to SerializationTuple for a non-null value, which under output_format_csv_serialize_tuple_into_separate_columns=1 flattens into N fields. So a Nullable(Tuple) column has a ROW-DEPENDENT width (N vs 1). FlattenTupleForCSVHeader flattened the header to N columns (#107371), matching only non-null rows; NULL rows then desync the column count and the data cannot round-trip.
c Fix matches root cause? Yes. The fix removes the row-dependent width at its source: a Nullable(Tuple) is serialized as a single quoted CSV value (flag disabled for the nested tuple), and the header no longer unwraps Nullable. Every row is now exactly one field, header is one cell.
d Test intent preserved / new tests added? Yes. 04340 still verifies bare-Tuple flattening and all CustomSeparated/opt-out/empty-tuple/scalar-Nullable cases unchanged. Added: Nullable(Tuple) NULL+non-null width-consistency, nested Nullable(Tuple(Tuple)), and a round-trip-with-NULLs case (the regression that previously failed with Code 27).
e Both directions demonstrated? Yes. Pre-fix (merged-code binary): header 3 cells, NULL rows 1 cell, round-trip Code 27. Post-fix (Build ID 93130288...): header/types/data all 1 cell, round-trip reads back (1,'a')/\N correctly. 04340, 00300_csv, 02149, 02152_csv_tuple, 02977_csv_format_support_tuple all pass.
f Fix is general across code paths? Yes. Both output (serializeTextCSV) and input (deserializeTextCSV/tryDeserializeTextCSV) are fixed symmetrically, and the header helper (FlattenTupleForCSVHeader) is aligned. The plain CSVRowOutputFormat and CustomSeparatedRowOutputFormat header gates consume the same helper, so both formats are covered.
g Fix generalizes across inputs (params/datatypes/wrappers)? Verified the wrapper matrix: Nullable(Tuple) (broken → fixed, single cell), nested Nullable(Tuple(Tuple)) (single cell), bare Tuple (still flattens — unchanged), Tuple(Nullable scalar) (still flattens, inner nullable is 1 cell — unchanged), Array(Tuple)/Map/scalar Nullable/LowCardinality (single quoted cell — unchanged). The detection is typeid_cast<const SerializationTuple*>(nested), which fires for exactly the Nullable-wrapped-tuple family. NB: Tuple(Nullable(...)) element-NULL round-trip (#106247) is a SEPARATE, pre-existing bug in the tuple-element path and is intentionally out of scope here.
h Backward compatible? No setting default changed; no on-disk/wire format change. Nullable(Tuple) is experimental (enable_nullable_tuple_type) and the flattening being corrected is unreleased master (introduced by #107371, not in any stable release), so no SettingsChangesHistory entry is needed. The opt-out setting output_format_csv_header_serialize_tuple_into_separate_columns=0 still works.
i Invariants and contracts preserved? Yes. Core CSV invariant restored: per-row field count is constant and equals the header width. The settings copy is local (per-row, only for the Nullable(Tuple) branch) and does not mutate the caller's FormatSettings. Input/output remain symmetric (round-trip holds). Bare-Tuple and tuple-element serialization contracts are untouched.

Session id: cron:clickhouse-worker-slot-1:20260630-142700

@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @Avogar @al13n321 — could you review? Follow-up to #107371: a Nullable(Tuple) had a row-dependent CSV width (non-null flattened into N fields, NULL a single \N), desyncing the flattened header and breaking round-trips. This serializes a Nullable(Tuple) as a single CSV field (input symmetric); a bare Tuple is still flattened.

@alexey-milovidov alexey-milovidov added the can be tested Allows running workflows for external contributors label Jun 30, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [65f1c79]

Summary: ✅


AI Review

Summary

This PR makes Nullable(Tuple) use a single CSV field on output, keeps the CSV header/type rows aligned with that one-field contract, documents the resulting setting behavior, and adds focused stateless coverage for NULL, empty-field, and nested-tuple cases. Given the explicit maintainer decision to drop legacy separate-columns input for Nullable(Tuple), the current implementation, docs, and tests are internally consistent; I did not find a remaining correctness issue that still warrants an inline comment.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Jun 30, 2026
…eTuple

clang-tidy bugprone-return-const-ref-from-parameter (warnings-as-errors in
the arm_tidy build) flagged adjustCSVSettingsForNullableTuple returning a
const FormatSettings & that, on the fast path, aliases the by-const-ref
parameter, which can dangle if the argument is a temporary.

Make the helper fill the std::optional<FormatSettings> out-parameter only,
and bind the effective settings reference at each call site. The common
Nullable(scalar) path still does no copy (storage stays empty); only the
Nullable(Tuple) path copies, exactly as before. No behavior change.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
…of NULL

Since Nullable(Tuple) is now serialized as a single quoted CSV field
("()"), the empty-tuple value no longer produces an empty field, so the
is_nullable_empty_tuple exception in CSVFormatReader::readField (added in
PR ClickHouse#100038 for the old separate-columns serialization) is obsolete. With
input_format_csv_empty_as_default = 1 (the default) it forced an empty
field through SerializationTuple::deserializeText, which expects '(' and
threw CANNOT_PARSE_INPUT_ASSERTION_FAILED instead of inserting the
nullable default. Remove the exception so an empty field for
Nullable(Tuple()) becomes NULL, consistent with Nullable(Tuple(T)) and
every other Nullable type. The "()" / "(5)" quoted fields still parse
back to the tuple value.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author

Addressing the clickhouse-gh[bot] change request (empty CSV field for Nullable(Tuple())) in 358e222.

Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. printf '\n' | clickhouse-local -q "SELECT c0 FROM file('/dev/stdin', CSV, 'c0 Nullable(Tuple())') SETTINGS allow_experimental_nullable_tuple_type=1" threw Code 27 ... expected '(' at end of stream on every run (default input_format_csv_empty_as_default=1).
b Root cause explained? The is_nullable_empty_tuple exception in CSVFormatReader::readField (added by PR #100038 for the OLD separate-columns serialization, where an empty Nullable(Tuple()) value () was written as an EMPTY CSV field) let an empty field fall through to SerializationTuple::deserializeText. This PR's single-field serialization writes () as a quoted "()", so an empty field is no longer a valid tuple value; the stale exception routed it to deserializeText, whose assertChar('(') threw instead of inserting the nullable default.
c Fix matches root cause? Yes. Removed the obsolete is_nullable_empty_tuple exception (restored the plain insertDefault(); return false;) and dropped the now-unused DataTypeTuple.h include. An empty field for Nullable(Tuple()) now becomes the nullable default (NULL), exactly the mechanism that broke.
d Test intent preserved / new tests added? Yes. Added focused empty-input-field cases to 04340_csv_with_names_tuple_header (empty -> NULL for both Nullable(Tuple()) and Nullable(Tuple(Int32)), plus "()" / "(5)" quoted fields still parse). Existing 04019_formats_nullable_empty_tuple_roundtrip (PR #100038's regression test) is unchanged and still passes.
e Both directions demonstrated? Yes. Pre-fix (Build ID 2d627344...): empty field -> Code 27. Post-fix (Build ID 24d1e499...): empty field -> \N; "()"/"(5)" -> ()/(5). 04340 20/20 with randomization; 04019, 04029, 00300_csv, 02152_csv_tuple, 02977_csv_format_support_tuple all pass.
f Fix is general across code paths? Yes. The exception lived only in CSVFormatReader::readField (the single CSV empty-field gate). Nullable(Tuple(T)) already produced NULL on an empty field (the exception only matched zero-element tuples); the fix makes Nullable(Tuple()) consistent with it. No sibling reader has the same special case.
g Fix generalizes across inputs (params/datatypes/wrappers)? Verified the empty-field matrix: Nullable(Tuple()) -> NULL (fixed), Nullable(Tuple(Int32)) -> NULL (unchanged), bare Tuple() -> () and Tuple(Int32) -> (0) (unchanged, never went through the exception), scalar Nullable(String) -> NULL and LowCardinality(Nullable(String)) -> NULL (unchanged). empty_as_default=0 still errors on an empty field for all of these (no default applied), which is the existing, consistent behavior.
h Backward compatible? Yes. No setting default or on-disk/wire format change. Nullable(Tuple) is experimental and the affected serialization is unreleased master (PR #107371). The removed exception was itself unreleased relative to this serialization change; the new behavior matches every other Nullable type, so no SettingsChangesHistory entry is needed.
i Invariants and contracts preserved? Yes. The CSV empty_as_default contract (empty field -> default) is now applied uniformly; output/input remain symmetric (a serialized Nullable(Tuple) is always a quoted field, read back identically). Bare-Tuple and tuple-element serialization contracts are untouched.

Session id: cron:clickhouse-worker-slot-4:20260630-180000

…ple-separate-columns-107342

# Conflicts:
#	src/Processors/Formats/Impl/CSVRowInputFormat.cpp
@groeneai

Copy link
Copy Markdown
Collaborator Author

Follow-up validation gate for 640f4a6 (2nd bot change request + master merge conflict resolution).

Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. Empty CSV field into Nullable(Tuple()) under default input_format_csv_empty_as_default=1: printf '\n' | clickhouse-local CSV 'c0 Nullable(Tuple())'. Before resolving the conflict (with the stale tuple exception kept) this threw Code 27 (expected '('); after, it yields \N. The docs part has no runtime repro (description-only).
b Root cause explained? Two parts. (1) Docs: the two output_format_csv_*serialize_tuple_into_separate_columns descriptions still claimed ALL tuples flatten, but after this PR a Nullable(Tuple) is a single field/cell, so the docs were false for that type. (2) Conflict: master #107577 renamed is_nullable_empty_tuple→keep_empty_value and added a Nullable(String) empty-as-empty-string branch in the SAME block our 358e222 deleted, so git could not auto-merge. The obsolete tuple exception must go (empty Nullable(Tuple()) field is no longer a valid value — () is now written as quoted "()"), while master's new Nullable(String) logic must stay.
c Fix matches root cause? Yes. Docs updated to state only bare Tuple flattens and Nullable(Tuple) stays one field/cell. Conflict resolved by keeping keep_empty_value = missing_nullable_as_empty_string && isNullableOrLowCardinalityNullable && isString(...) (master's feature) and dropping the tuple branch; includes keep DataTypeLowCardinality.h, drop unused DataTypeTuple.h.
d Test intent preserved / new tests added? Preserved. 04340 (this PR's regression test) and 04019 (the original #107342 empty-tuple round-trip) both still pass unchanged; no assertions weakened. The empty-field→NULL cases added in 358e222 still cover the de-exception path.
e Both directions demonstrated? Yes. With the stale tuple exception (pre-resolution) the empty Nullable(Tuple()) field throws Code 27; with the resolution it returns \N. Verified on the Build-ID-matched binary (93a5e7a14564).
f Fix is general across code paths? Yes. The empty-field handling lives in one place (CSVFormatReader::readField); the master Nullable(String)/LC(Nullable(String)) branch is retained intact and verified (missing_nullable_as_empty_string=1 → empty string for both Nullable(String) and LowCardinality(Nullable(String))). No sibling readField paths duplicate the removed exception.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes. Verified empty-field→NULL for Nullable(Tuple()) and Nullable(Tuple(Int32)); quoted "()"→() and "(5)"→(5) still parse; Nullable(String) and LowCardinality(Nullable(String)) empty-as-empty-string preserved; scalar Nullable(UInt64) empty→NULL unchanged.
h Backward compatible? Yes. No setting defaults or formats changed. The docs edit is description-only. The conflict resolution preserves master's brand-new input_format_csv_missing_nullable_as_empty_string (default false) exactly; the removed tuple exception only ever applied to the old separate-columns serialization that this PR already replaced.
i Invariants and contracts preserved? Yes. CSV per-row field-count invariant for Nullable(Tuple) (one field per row, NULL or not) holds; input stays symmetric with output. The keep_empty_value predicate's contract (fall through to nested deserialization only for the Nullable(String) empty-string case) is unchanged from master. The docs now accurately describe the flattening contract.

Session id: cron:clickhouse-worker-slot-4:20260630-185900

@PedroTadim

Copy link
Copy Markdown
Member

The issue has been fixed, this PR can be closed

@PedroTadim PedroTadim closed this Jul 8, 2026
@Avogar Avogar reopened this Jul 8, 2026
@Avogar Avogar self-assigned this Jul 8, 2026
The single-field output change stopped the reader from accepting the legacy
separate-columns CSV encoding older versions emitted for non-null
Nullable(Tuple) rows (e.g. 1,"a" for Nullable(Tuple(ID UInt64, Name String))).

On input, when input_format_csv_deserialize_separate_columns_into_tuple = 1,
try the new single quoted-field encoding first (also handles the \N NULL
field) and, on a parse failure, roll back and read the legacy separate-columns
encoding. Output stays the single-field form.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@groeneai

groeneai commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Addressed in d9d0a10.

Input now accepts BOTH encodings for Nullable(Tuple). When input_format_csv_deserialize_separate_columns_into_tuple = 1 (the default), SerializationNullable::deserializeTextCSV wraps the input in a PeekableReadBuffer, tries the new single quoted-field encoding first (which also handles the \N NULL field), and on a parse failure rolls back and reads the legacy separate-columns encoding. Output is unchanged (single quoted field). With the setting = 0, only the single-field encoding is accepted.

Verified both directions on a debug build: your example 1,"a" for Nullable(Tuple(ID UInt64, Name String)) fails with Code 27 on the pre-fix binary and round-trips to (1,'a') after the fix, while the new "(1,'a')" encoding and \N NULL rows keep working. Regression coverage added to 04340_csv_with_names_tuple_header: legacy 1,"a", legacy separate-columns with a trailing plain column, and a legacy flattened-header CSVWithNames read with mixed-width NULL rows.

@groeneai

groeneai commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — d9d0a10

CI fully finished (Finish Workflow + Mergeable Check pass). No failed checks on this head; every job is pass or skipping.

Check / test Reason Owner / fixing PR
(none) — —
Sync — CH Inc sync (private, not actionable)

Session id: cron:our-pr-ci-monitor:20260708-163000

@Avogar Avogar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we should support old case with separate tuple elements if type is Nullable(Tuple), because it still leads to ambiguity on first \N. Let's just say that Nullable(Tuple) cannot be parsed/serialized as separate columns in CSV in the setting description

…input

Per review, do not support the legacy separate-columns encoding for
Nullable(Tuple) on input: a leading \N field is ambiguous (outer NULL of the
tuple vs NULL of its first element), so accepting both encodings cannot
round-trip that case unambiguously. Keep Nullable(Tuple) as a single quoted
CSV field on both output and input, regardless of
input_format_csv_deserialize_separate_columns_into_tuple, and document the
limitation in the setting description.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author

Done in 65f1c79. Dropped the legacy separate-columns input fallback: Nullable(Tuple) is now written and read only as a single quoted CSV field, regardless of input_format_csv_deserialize_separate_columns_into_tuple. Documented the limitation (and its cause, the leading-\N ambiguity) in the input_format_csv_deserialize_separate_columns_into_tuple description. Test 04340 updated: removed the legacy round-trip cases, kept single-field input/output with NULL rows under both setting values.

Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. printf '1,"a"\n' | clickhouse-local -q "SELECT c1 FROM file('/dev/stdin', CSV, 'c1 Nullable(Tuple(ID UInt64, Name String))')"
b Root cause explained? Legacy separate-columns input for Nullable(Tuple) cannot round-trip: a leading \N field is ambiguous (outer tuple NULL vs first-element NULL). Accepting both encodings either errors or silently misaligns rows.
c Fix matches root cause? Yes. Do not accept the ambiguous encoding at all: single-field only both directions, matching prior versions' read behavior.
d Test intent preserved / new tests added? Yes. 04340 keeps single-field input/output with NULL rows under setting=1 and setting=0; legacy round-trip cases removed.
e Demonstrated both directions? Yes. Legacy 1,"a" now errors Code 27 (expected before fix it parsed); single-field "(1,'a')" + \N rows parse under both setting values.
f Fix general, not a narrow patch? N/A (format-behavior decision, not a code-path bug).
g Generalizes across inputs/types? Covered: named/positional/nested Nullable(Tuple), NULL rows, setting on/off.
h Backward compatible? Deliberately drops the legacy separate-columns input path for Nullable(Tuple) per this review; documented in the setting description.
i Invariants/contracts preserved? Yes. Input is symmetric with output (single field); no format-versioning or column-structure invariant touched.

Session id: cron:clickhouse-worker-slot-1:20260714-173500

@clickhouse-gh

clickhouse-gh Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

LLVM Coverage Report

Metric Baseline Current Δ
Lines 85.90% 85.90% +0.00%
Functions 92.70% 92.70% +0.00%
Branches 78.00% 78.10% +0.10%

Changed lines: Changed C/C++ lines covered: 42/48 (87.50%) · Uncovered code

Full report · Diff report

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger — 65f1c79

CI fully finished on this HEAD (Finish Workflow + Mergeable Check pass; only CH Inc sync pending, which is exempt). CIDB shows ZERO FAIL/ERROR test rows at this commit.

Check / test Reason Owner / fixing PR
(none) — —
Sync — CH Inc sync (private, not actionable by us)

Session id: cron:our-pr-ci-monitor:20260714-233000

@Avogar
Avogar added this pull request to the merge queue Jul 22, 2026
Merged via the queue into ClickHouse:master with commit 7410a36 Jul 22, 2026
175 checks passed
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 22, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Jul 23, 2026
A bare Tuple with a leading Nullable element serialized into separate CSV
columns (e.g. `\N,1` for `Tuple(Nullable(Int32), Int32)`) was mistaken for the
whole Tuple being NULL when input_format_null_as_default = 1 (the default): the
row was replaced by a default and the trailing element broke parsing with
INCORRECT_DATA. Issue ClickHouse#106247.

A leading `\N` in a separate-column Tuple is ambiguous: it can be the first
element's NULL, or the whole column being NULL followed by the next top-level
column. Disambiguate by the remaining field budget: the element-wise parse
consumes the Tuple's recursive CSV cell width, and the columns after it need at
least their own widths, so element-wise is only chosen when enough fields remain
on the row; otherwise the `\N` is the whole-column NULL/default. The per-type
cell-width rule is shared with the CSV header flattening in
getCSVSeparateColumnsWidth; the trailing budget is precomputed once per row.

A Nullable(Tuple) is written and read as a single CSV field (ClickHouse#108959), so it
never enters this separate-columns path; only bare tuples do, and their widths
are statically known.

Closes: ClickHouse#106247

Co-Authored-By: Claude Fable 5 <[email protected]>
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Aug 20, 2026
@robot-ch-test-poll robot-ch-test-poll added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Aug 20, 2026
clickhouse-gh Bot added a commit that referenced this pull request Aug 20, 2026
Backport #108959 to 26.7: Serialize Nullable(Tuple) as a single CSV field
zeekay pushed a commit to hanzoai/datastore that referenced this pull request Sep 11, 2026
…uple-separate-columns-107342

Serialize Nullable(Tuple) as a single CSV field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo v26.7-must-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSVWithNames structure mismatch when unwrapping tuples

7 participants