Skip to content

Fix reading ORC lists and maps whose element struct has none of the requested fields - #130279

Merged
Algunenano merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/orc-nested-struct-without-requested-fields
Nov 11, 2026
Merged

Algunenano merged 4 commits into
ClickHouse:masterfrom
groeneai:groeneai/orc-nested-struct-without-requested-fields

Conversation

@groeneai

@groeneai groeneai commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Closes: #130274
Related: #130171
Related: #129992
Related: #130259

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):

Fixed reading an ORC struct whose requested Tuple has none of the struct's fields (for example after schema evolution): such a list or map no longer loses its elements or crashes, the struct keeps its NULLs, and the requested fields are filled with default values.

Description

On 26.10, SELECT m FROM file('t.orc', ORC, 'm Map(String, Tuple(c Nullable(String)))') over a map<string, struct<a, b>> column crashes, and l Array(Tuple(d Nullable(Int32))) over a list of such structs returns [] for every row. The same happens for a struct map key, nested lists and maps, dotted subcolumns and flattened Nested subcolumns.

updateIncludeTypeIds selects only the struct fields the requested Tuple names. When it names none, nothing is selected: the ORC reader drops the list and keeps a map with one child, which the MAP read indexes out of bounds. Selecting a field alone is not enough, because the final CAST converts named tuples with no element names in common by position, so the field's values would end up in the requested elements.

Now a requested struct with nothing selected under it has its narrowest field selected, only for its size and null map: the read skips that field, so its values are not converted. After the read, the struct fields are matched to the requested Tuple elements by name, through Nullable, Array and Map, and the requested elements that were not read are filled with defaults, as the Arrow reader does. The read keeps the file's shape, so a struct read once for several requested columns (a column and its subcolumns) serves each of them. Unnamed tuples are still matched by position.

The fix is kept inside the ORC reader to be easy to backport. How the Arrow, ORC and Parquet copies of this rule could be unified is described in #130259 (comment).


Workflow [PR]
Sync PR [sync-upstream/pr/130279]

Version info

  • Merged into: 26.11.1.1945-master (included in 26.11 and later)

groeneai and others added 2 commits November 9, 2026 07:03
…d fields

When the requested type of a struct below an ORC list or map (an element,
a map key or a map value) names none of the struct's fields, as after a
schema evolution that replaced them, `updateIncludeTypeIds` selected no
column under it. The ORC reader then dropped the list from the selected
type, so it was read as a missing column (`[]` for every row instead of
one default tuple per element), and kept a map with only one child, so the
MAP read threw `std::out_of_range` from `getSubtype(1)` (abort in debug,
SIGSEGV in release) or left `elements` null (SIGSEGV for a struct key).
The same happens through a dotted subcolumn of a struct (`t.l`, `tm.m`)
and a subcolumn of a flattened Nested column (`n.z`).

Selecting a carrier column alone is not enough: its values reach the
result through the positional named-tuple cast, and the read-time type
hint cannot tell such a struct apart, because on the flattened-subcolumn
path the hint is the type of the first subcolumn, not of the struct.

So the selection collects every struct below a list or a map (and the
struct a flattened Nested subcolumn resolves to) with its requested type,
and after all requested columns are resolved, a struct with no included
column in its subtree and no included ancestor gets its narrowest field
included and is recorded as read only for its count. The STRUCT read
returns the recorded type's default values for such a struct. A struct
that is read today is never recorded, so every read that works today is
unchanged. The values now match what the Arrow reader returns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Shorten three two-line comments on the count-only struct candidates and map to one line each.

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

groeneai commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex; 2 rounds, 4 findings) plus my own review (2 rounds).

# Sev Finding Verdict Evidence / action
1 ❌ A struct also requested through another column (t String next to `t.l`) keeps its fields, so t.l gets positional file values DISAGREE That read is master's code path (nothing is selected or recorded for it); the positional value comes from the double-request cast, which also exists without a list. Out of scope; the description says so.
2 ❌ A list of such structs inside a Variant (ORC union) is still rejected DISAGREE No union alternative matches, so the branch is read whole and the Variant cast throws; nothing is lost and this change does not apply. Separate change (union alternative matching).
3 ❌ An empty element struct (struct<>) requested as a non-empty Tuple throws TYPE_MISMATCH DISAGREE The empty struct is selected and read as on master, and the cast rejects Tuple(); the same error happens without any list or map (a top-level struct<>). Different defect, separate PR.
4 ❌ A struct nested in an element struct is not collected, so an unnamed outer Tuple fails DISAGREE That element struct shares a field with the request, so this change adds nothing and the read is master's; the failure is the positional hint over a pruned struct, also without a list. The description wording was narrowed.
5 ❌ Conflicts with master's -WithMemoryTracking containers AGREE, fixed Rebased, the new containers use the -WithMemoryTracking types.
6 💡 Four control queries cannot be reached by the change AGREE, fixed Dropped.

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are terminal per finding.

Session id: cron:clickhouse-review-self-slot-58:20261109-080200

@groeneai

groeneai commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes. On master the new test aborts the server (std::out_of_range, signal 6) on the map-value query; per-shape clickhouse local runs give [] for lists, abort for map values and SIGSEGV for a struct map key. 26.10.3.7: list [], map SIGSEGV.
b Root cause explained? updateIncludeTypeIds selects only the struct fields the requested Tuple names. When it names none, nothing under the list or map is selected, so the ORC reader drops the list (read as a missing column) and keeps a map with one child, which the MAP read indexes out of bounds.
c Fix matches root cause? Yes. Every struct requested as an Array element or a Map key or value that has nothing selected in, under or above it gets its narrowest field selected and is read as the requested type's defaults. The crash site is not guarded; the one-child map is no longer produced.
d Test intent preserved / new tests added? New 05617_orc_nested_struct_without_requested_fields: 13 shapes (list, map value, map key, nested in a struct / list / map, NULL elements, batch size 1, t.l, tm.m, n.z, nested candidates, a struct read whole by another column) plus 4 controls. Expected values are the Arrow reader's.
e Both directions demonstrated? Fails on master (server abort), passes with the fix 50/50 with random settings. Each of five mutations of the fix (no read-side default, no carriers, no ancestor check, no Nested candidate, pre-order resolution) fails it.
f Fix is general across code paths? List element, map key and map value on the direct path and through any nesting (the same recursion), dotted struct subcolumns and flattened Nested subcolumns. Parquet has the same [] shape, fixed in #130259; Arrow is correct.
g Fix generalizes across inputs (params/datatypes/wrappers)? Nullable elements and fields, Nullable(Tuple) requests, empty and multi-element lists and maps, row batch size 1, case-insensitive matching, partial overlap. LowCardinality does not apply to Tuple.
h Backward compatible? (maintainer-approved exception only) Yes. No setting or format change. A struct that is read today is never selected for defaults, so those reads are unchanged (142 stateless tests that read ORC show no new failures).
i Invariants and contracts preserved? Every selected list or map keeps all its children; a struct read for its count yields as many rows as its batch, so offsets and map sizes stay consistent; NULL elements keep their null map.

Session id: cron:clickhouse-impl-self-slot-57:20261109-051200

@groeneai

groeneai commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

cc @alexey-milovidov @vitlibar, could you review this and add the can be tested label so CI runs? When the requested Tuple of a struct inside an ORC list or map names none of the file struct's fields, the reader now selects one field only to keep the element count and returns default tuples, instead of [] for a list and a SIGSEGV for a map. This also fixes the map key crash reported in #130274.

@clickhouse-gh

clickhouse-gh Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [4c8a1af]

Summary: ✅


AI Review

Summary

The PR preserves ORC list/map shapes and struct presence when requested tuple fields are absent, then matches fields by name after reading. The previous default-value, nested-presence, and shared-projection findings are addressed. One map-key conversion path still bypasses the promised null/default handling.

Consumer trace: checked parent structs, list elements and Nested reconstruction, map keys/values, union branch repair casts, cached subcolumn extraction through NestedColumnExtractHelper, and the final matching/defaulting/casting sequence. The remaining issue occurs in the map-key conversion before that final sequence.

Missing context / blind spots
  • ⚠️ No local ORC-capable executable was available; current-head CI builds were running and targeted stateless tests were pending. The finding below follows a concrete source trace, rather than a locally executed reproduction.
Findings

⚠️ Majors

  • NativeORCBlockInputFormat.cpp:2984: Reconstructed map keys are cast before null/default handling. An ORC m Map(Tuple(b Nullable(Tuple(a Int32))), String) containing {(NULL):'v'}, requested as m Map(Tuple(b Tuple(q Int32)), String), reaches the key cast with a null b and throws CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN even with input_format_null_as_default=1. Array-element and map-value paths reach the later defaulting pass. Apply defaulting before the key cast, or defer nested key conversions to that pass.
Tests
  • ⚠️ Extend the new stateless test with a nullable nested struct in a map key whose requested leaf names are disjoint: default substitution must succeed when enabled and reject the null when disabled. Existing null/default cases cover array elements, while the map-key case covers only a non-null struct.
Final Verdict

⚠️ Request changes — honor input_format_null_as_default for the reconstructed map-key path and add the focused regression case.

@clickhouse-gh clickhouse-gh Bot added pr-bugfix Pull request with bugfix, not backported by default can be tested Allows running workflows for external contributors comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). labels Nov 9, 2026
@groeneai

groeneai commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 4277aea

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Build profile diff infra, not from this PR (no ci/ file in the diff): the readiness probe to the CI logs cluster never succeeded, so has_pr_data raised LogClusterNotReady: the endpoint never became ready. The same job ended with LogClusterNotReady on 40 other PRs in the last 24 hours #129675 (mine, open)
PR praktika rollup of the row above #129675 (the owner above)

The other CIDB FAIL rows on this head are Config Workflow / Pre Hooks and Finish Workflow / Post Hooks of the run before the can be tested label.

Session id: cron:our-pr-ci-monitor:20261109-123010

@Algunenano Algunenano self-assigned this Nov 9, 2026
@Algunenano Algunenano added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Nov 9, 2026
A list element or map key/value struct that has none of the requested
fields was filled with `IDataType::getDefault`, which differs from the
column default for `Date32` (1900-01-01 vs 1970-01-01). Every other
missing value in the ORC reader (a missing column, a missing field of a
struct that has some requested fields, which goes through the tuple
CAST) uses the column default, so the same absent field read a different
value depending on whether another field was requested.

Use `insertManyDefaultsInto`: the column default, except for Enum, which
gets its first value instead of an invalid 0. Add non-nullable `Date32`
and `Enum8` cases with and without an overlapping field to the test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 4c8a1afa8 with master 312c31c8b (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Object file sizes

3 object files changed (+49.64 KiB total), 0 added.

Object file Master PR Δ
src/CMakeFiles/dbms.dir/Processors/Formats/Impl/NativeORCBlockInputFormat.cpp.o 904.36 KiB 953.99 KiB +49.63 KiB (+5.49%)

711 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Slowest function optimization changes (ThinLTO)

Median per-function time ratio to the master baseline: programs/clickhouse-keeper ×1.09 (each binary is linked separately, on a different machine and with different build flags); deltas below are relative to it.

Binary Function Master PR Δ vs median
programs/clickhouse DB::registerFunctionConversion(DB::FunctionFactory&) 7.2 s 18.2 s +11.0 s (+152%)
Compile time of recompiled translation units

9 translation units recompiled, 29 s compile time in total, 9 of them have a recent master baseline.

Job report

@Algunenano

Copy link
Copy Markdown
Member

@groeneai This is waiting on you

@Algunenano

Copy link
Copy Markdown
Member

@groeneai I'll take over the PR

@groeneai

Copy link
Copy Markdown
Collaborator Author

Thanks for taking it over, and sorry for the slow response. I will not resolve clickhouse-gh threads anymore; the bot resolves them itself.

I checked the open blocker (r4516679076) with the CI amd_release binary of 408c787, and both claims reproduce. ORC file column nb = [((1)),(NULL)] (Array(Tuple(b Nullable(Tuple(a Int32))))), read as nb Array(Tuple(<element>)):

Element input_format_null_as_default master 408c787 Arrow, same data
b Nullable(Tuple(q Int32)) 1 and 0 [] [(NULL),(NULL)] [((0)),(NULL)]
b Tuple(q Int32) 1 [] [((0)),((0))] [((0)),((0))]
b Tuple(q Int32) 0 [] [((0)),((0))] Code 349
b Nullable(Tuple(a Nullable(Int32), q Int32)) 1 and 0 [((1,0)),(NULL)] same same
b Nullable(Tuple(a Int32, q Int32)) 1 and 0 Code 349 Code 349 [((1,0)),(NULL)]

Rows 1 and 3 are this PR's bug: the whole list element is defaulted, so a present b loses its value and a NULL b is never checked against a non-nullable request. Row 5 is pre-existing on master: with a matched non-nullable leaf under a NULL struct, ORC throws Cannot convert NULL value to non-Nullable type where Arrow returns NULL, so a partial-overlap control row needs a Nullable(Int32).

Also still open from the bot summary: the :1384 double projection (t and t.l requested with different element structs share one requested type). The description excludes that case, but it is not fixed. The Date32 thread (r4511195946) is fixed in 408c787 according to the bot summary.

Replace the count-only structs with a by-name match after the read, as in the Arrow reader. A requested struct with
no field read gets its narrowest field read only for its size and null map, without converting its values, and the
requested elements that were not read are filled with defaults, so a CAST never matches named tuples by position.
Shared reads of a struct now serve any request. Unnamed tuples are still matched by position.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Algunenano

Copy link
Copy Markdown
Member

@groeneai I've pushed a fix. Can you review it please?

Also I think we should repurpose #130259 to generalize and unify the solution between formats. I didn't do it here because I intend to backport this

if (!key_type_hint && !DataTypeMap::isValidKeyType(key_column.type))
key_type_hint = removeNullableOrLowCardinalityNullable(key_column.type);
if (key_type_hint)
key_column = matchORCTupleElementsByName(key_column, key_type_hint, case_insensitive_matching);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

[Major] Apply null defaults before casting reconstructed map keys

For an ORC column m Map(Tuple(b Nullable(Tuple(a Int32))), String) containing {(NULL):'v'}, request m Map(Tuple(b Tuple(q Int32)), String) with input_format_null_as_default=1. The new matching pass reconstructs b as Nullable(Tuple(q Int32)), preserving its null map, but the immediately following castColumn rejects that null when converting to the non-nullable requested b. Execution never reaches insertNullAsDefaultIfNeeded in orcColumnsToCHChunk.

Consequently, the map-key variant of the newly supported disjoint-field read still throws CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN with default substitution enabled, whereas the equivalent array-element and map-value paths substitute defaults. Please apply null/default handling before this key cast, or defer nested key conversions until the final matching/defaulting pass. Add a nullable nested map-key case checking success with the setting enabled and rejection with it disabled.

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.

🕵 This is how map keys already behave, not something this change introduces: the key is cast inside the MAP read, before insertNullAsDefaultIfNeeded, so input_format_null_as_default never applies to map keys. A request that shares a field with the file, such as m Map(Tuple(b Tuple(a Nullable(Int32), q Int32)), String), throws the same CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN at 408c787, before this change. The disjoint key only succeeded there because the whole struct was replaced with defaults, which also accepted NULLs with input_format_null_as_default = 0. Now both requests behave the same, and map values keep substituting defaults.

We'll apply the null default handling to map keys before that cast in a follow-up, with tests for both settings.

@groeneai

Copy link
Copy Markdown
Collaborator Author

Thanks, I reviewed 4c8a1af and it looks right to me. Checked on a debug build of it:

  • 05617 passes, also 50/50 with random settings. The ORC stateless tests pass (134 of 136, plus the 6 malformed-ORC ones against MinIO); the other 2 need data my setup does not have (test.hits, the Paimon fixture).
  • The r4516679076 shapes now give the Arrow results: [((0)),(NULL)], and the non-Nullable request is rejected with input_format_null_as_default = 0.
  • Outside the test, against master: case-insensitive matching in lists and maps, unnamed structs, partially overlapping Nested subcolumns and Variant struct branches behave the same; disjoint Nested and path subcolumns (n.z, t.s) now read [(NULL)] like Arrow instead of [], and t together with t.a reads instead of failing with Code: 53.
  • One visible change for the backport: a top-level struct with none of the requested fields used to fail with Column 't' is not presented in input data under input_format_orc_allow_missing_columns = 0, and now reads defaults. Your test covers it, and it matches the partially overlapping request and Arrow.

The new map key finding (#130279 (comment)) reproduces: a key Tuple(b Nullable(Tuple(a Int32))) holding (NULL), read as Map(Tuple(b Tuple(q Int32)), String) with input_format_null_as_default = 1, fails with Code: 349, while Arrow returns {((0)):'v'}. It is not new, though: master and 408c787 fail the same way when the requested key shares a field (Map(Tuple(b Tuple(a Int32)), String)), because the key is cast before the null-as-default step. So the commit follows its rule of behaving as when a field is requested. Fixing it needs the key conversion deferred, which is the ORC map keys item of your #130259 note, so I would do it there unless you want it here.

On #130259: understood. I'll repurpose it to unify this rule across the readers along the lines of your note there, keep this PR ORC-only for the backport, and post the result here.

groeneai added a commit to groeneai/ClickHouse that referenced this pull request Nov 11, 2026
…none of the requested fields)

The unification of the by-name rule for named tuples across the format readers
deletes matchORCTupleElementsByName, which exists only in ClickHouse#130279, so this PR
builds on it until it merges.
Requested in ClickHouse#130279 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Nov 11, 2026
…readers

The Arrow, ORC and Parquet readers each realigned a requested named tuple
to the read one by name, because CAST converts named tuples without common
element names positionally and insertNullAsDefaultIfNeeded pairs tuple
elements by position. The copies chose different defaults for a missing
element: the first value of an Enum in Arrow, the invalid value 0 in the
others and in CAST.

CAST gets an internal flag (not a user setting, part of updateHash) that
matches named tuples by name also when they have no element name in common,
used by castColumnToRequestedType and the reader casts through
castColumnMatchingTupleElementsByName. insertNullAsDefaultIfNeeded gets the
same flag to pair named tuple elements by name. A missing element or column
is filled with the default of its type (insertManyDefaultsInto) in CAST and
in every reader. The legacy Arrow by-name block and the ORC
matchORCTupleElementsByName are deleted; ArrowIPC keeps only the recursion
into requested elements.

Requested in ClickHouse#130279 (comment)
Design note: ClickHouse#130259 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Nov 11, 2026
…bulk

ORC lost case-insensitive matching on the extracted-subcolumn path once its
own by-name realignment was removed: `c0.up Tuple(b UInt32)` over a file
`UP Tuple(B UInt32)` read `(0)` instead of `(70)` (04401), because the
subcolumn hint never reaches `UP` and the exact by-name cast then filled `b`.

ArrowIPC's alignStructFieldNamesCaseInsensitive moves to
src/Formats/castColumnToRequestedType and ORC calls it at the same point as
ArrowIPC: after the read, before null-as-default and the cast. Its named
tuple branch now uses the exact-first rule of the ORC struct read: an element
spelled exactly keeps its name, and a requested element is taken by at most
one case-folded element. The previous first-occurrence lookup renamed both
fields of `c0 Tuple(A ..., a ...)` to the same name, so ArrowIPC failed with
"Names of tuple elements must be unique", where ORC reads the struct.

createColumnWithDefaults (DataTypes/Utils) replaces the per-row
insertManyDefaultsInto at the five default-fill sites (CAST, Parquet, legacy
Arrow, ArrowIPC, ORC): a bulk cloneResized when the type's default insert is
trivial, as before, else one default row replicated with insertManyFrom.

Requested in ClickHouse#130279 (comment)

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

Copy link
Copy Markdown
Collaborator Author

#130259 is repurposed along the lines of your note: #130259

  • An internal CAST flag (not a setting, in updateHash) matches named tuples by name even without common names; castColumnToRequestedType and the casts inside the readers (map keys, union branches, the Nested element) set it, and insertNullAsDefaultIfNeeded pairs tuple elements by name with it. ORC map keys now get input_format_null_as_default before the key cast.
  • One helper fills missing elements and columns with the type default (the smallest Enum value) in CAST and every reader.
  • matchORCTupleElementsByName and the two Arrow copies are deleted. The branch contains this PR at 4c8a1afa, so it merges after it.

One measurement on this PR's count-only carrier: getNarrowestORCStructField ties all primitive fields, so file order decides. For x Array(Tuple(q String)) over a list of struct<payload string, id int64> with ten 1 MB strings, the peak is 46.9 MB with payload first and 11.7 MB with id first. Preferring a fixed-width field would avoid it; I did not change it in #130259, as this code goes into your backport.

@Algunenano
Algunenano added this pull request to the merge queue Nov 11, 2026
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Nov 11, 2026
robot-clickhouse-ci-2 added a commit that referenced this pull request Nov 11, 2026
Cherry pick #130279 to 26.3: Fix reading ORC lists and maps whose element struct has none of the requested fields
robot-clickhouse added a commit that referenced this pull request Nov 11, 2026
…t struct has none of the requested fields
robot-clickhouse-ci-2 added a commit that referenced this pull request Nov 11, 2026
Cherry pick #130279 to 26.8: Fix reading ORC lists and maps whose element struct has none of the requested fields
robot-clickhouse added a commit that referenced this pull request Nov 11, 2026
…t struct has none of the requested fields
robot-clickhouse-ci-2 added a commit that referenced this pull request Nov 11, 2026
Cherry pick #130279 to 26.9: Fix reading ORC lists and maps whose element struct has none of the requested fields
robot-clickhouse added a commit that referenced this pull request Nov 11, 2026
…t struct has none of the requested fields
robot-clickhouse-ci-2 added a commit that referenced this pull request Nov 11, 2026
Cherry pick #130279 to 26.10: Fix reading ORC lists and maps whose element struct has none of the requested fields
robot-clickhouse added a commit that referenced this pull request Nov 11, 2026
…nt struct has none of the requested fields
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Nov 11, 2026
clickhouse-gh Bot added a commit that referenced this pull request Nov 11, 2026
Backport #130279 to 26.8: Fix reading ORC lists and maps whose element struct has none of the requested fields
clickhouse-gh Bot added a commit that referenced this pull request Nov 11, 2026
Backport #130279 to 26.10: Fix reading ORC lists and maps whose element struct has none of the requested fields
clickhouse-gh Bot added a commit that referenced this pull request Nov 11, 2026
Backport #130279 to 26.9: Fix reading ORC lists and maps whose element struct has none of the requested fields
Algunenano added a commit that referenced this pull request Nov 11, 2026
Backport #130279 to 26.3: Fix reading ORC lists and maps whose element struct has none of the requested fields
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
leshikus pushed a commit that referenced this pull request Nov 13, 2026
…nt struct has none of the requested fields
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 comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). 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 Pull request should be backported intentionally. Use this label with great care! 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SIGSEGV reading ORC map whose requested key Tuple matches no struct field

4 participants