Skip to content

Backport #112604 to 26.3: Bump arrow to 25.0.0, orc to 2.3.1 and xsimd to 14.2.0 - #113539

Merged
thevar1able merged 2 commits into
26.3from
backport/26.3/112604
Aug 7, 2026
Merged

thevar1able merged 2 commits into
26.3from
backport/26.3/112604

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #112604
Cherry-pick pull-request #113172

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.3.18.7

@robot-clickhouse robot-clickhouse added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Aug 5, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [a3304bb]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 1/2) failure
04238_alter_rename_column_merge_race FAIL cidb
Stateless tests (amd_asan, distributed plan, parallel, 2/2) failure
04308_arrow_oob_reads_value FAIL cidb
04408_lazy_materialization_part_offset_prewhere FAIL cidb
Stateless tests (amd_asan, db disk, distributed plan, sequential) failure
03147_parquet_memory_tracking FAIL cidb

Arrow 25 added `cpp/src/parquet/bloom_filter_writer.cc`, which defines
`BloomFilterBuilder::Make` and `TypedBloomFilterWriter`. Arrow's own
`cpp/src/parquet/CMakeLists.txt` builds it, but `contrib/arrow-cmake` does not,
so the link failed with undefined symbols referenced from `file_writer.cc` and
`column_writer.cc`:

    ld.lld-21: error: undefined symbol: parquet::BloomFilterBuilder::Make(parquet::SchemaDescriptor const*, parquet::WriterProperties const*)
    >>> referenced by file_writer.cc:578

`master` has the same omission but does not notice it: `ParquetBlockOutputFormat`
there no longer uses Arrow's Parquet writer, so `file_writer.cc.o` and
`column_writer.cc.o` are never pulled out of `lib_parquet.a` and their undefined
references never reach the linker. This branch still uses Arrow's writer, so they
do. For the same reason `26.5`, `26.6` and `26.7` are unaffected.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113539&sha=d14e20cc5cc6fbc63d8ef4a406df8bd1bece12d4&name_0=BackportPR
#113539
@thevar1able
thevar1able merged commit d0ea67d into 26.3 Aug 7, 2026
60 of 70 checks passed
@thevar1able
thevar1able deleted the backport/26.3/112604 branch August 7, 2026 13:40
kewin-robetti pushed a commit to viasoftkorp/ClickHouse that referenced this pull request Aug 24, 2026
…g Parquet record batches

After the `arrow` 25.0.0 bump (ClickHouse#113539), an allocation failure inside
`RecordBatchReader::Next` surfaces as an arrow `OutOfMemory` status instead of
propagating the memory-tracker exception, so the error was reported as
`CANNOT_READ_ALL_DATA` (33) instead of `MEMORY_LIMIT_EXCEEDED` (241), making
`03147_parquet_memory_tracking` flaky on 26.3. Map `IsOutOfMemory` to
`MEMORY_LIMIT_EXCEEDED` at this call site, like the `THROW_ARROW_NOT_OK` macro
already does.

Seen in: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=113929&sha=731b917fb0a2533da48dc46dc334bd30c8570bfe&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20db%20disk%2C%20distributed%20plan%2C%20sequential%29
On PR: ClickHouse#113929

Co-Authored-By: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants