Skip to content

Make native Parquet independent of the Arrow library and enable it in the fast test - #126477

Merged
alexey-milovidov merged 29 commits into
masterfrom
native-parquet-without-arrow
Nov 11, 2026
Merged

alexey-milovidov merged 29 commits into
masterfrom
native-parquet-without-arrow

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

The native Parquet reader and writer called a few functions of Apache Arrow and parquet-cpp, so USE_PARQUET required the whole Arrow C++ library, and Parquet was disabled in the fast test (-DENABLE_LIBRARIES=0), which also runs in the merge queue. Hundreds of stateless tests were tagged no-fasttest only because of Parquet or Arrow, which is how #124131 passed the merge queue.

Now native Parquet depends only on the structures generated from parquet.thrift and a minimal Thrift runtime:

  • ch_contrib::parquet_format: parquet_types.cpp with ch_contrib::thrift_minimal (five Thrift runtime files to (de)serialize structures in memory, no networking, no OpenSSL). The generated header is exposed from its own include directory, so the native code cannot include Arrow headers by accident.
  • Native bit unpacking for DELTA_BINARY_PACKED and decoding of BYTE_STREAM_SPLIT (instead of arrow::bit_util::BitReader and ByteStreamSplitDecode).
  • CRC32 from zlib (instead of arrow::internal::crc32).
  • Bloom filter hashing on parq::SchemaElement and XXH64 (instead of parquet::ColumnDescriptor and parquet::XxHasher); the eligibility rules for logical and converted types are the same.
  • Native PLAIN and dictionary encoders and the RLE / bit-packed hybrid encoder in the writer (instead of parquet::MakeTypedEncoder and RleBitPackedEncoder). The RLE encoder follows the same run-splitting rules, and the dictionary keeps the first-occurrence order, so the written files are byte-identical to master (checked on a file with dictionary, fallback, nullable, array, boolean, and FixedString columns: the only difference is the build hash in created_by).

Build flags:

  • USE_PARQUET: the native reader and writer, needs only ch_contrib::parquet_format.
  • USE_ARROW: the native Arrow / ArrowStream formats, needs only the FlatBuffers-generated IPC bindings, no longer tied to parquet-cpp.
  • USE_ARROW_LIBRARY (new, CMake option ENABLE_ARROW_LIBRARY, default ENABLE_LIBRARIES): the Apache Arrow C++ library with parquet-cpp. Still needed for Hive, Arrow Flight, delta-kernel-rs (it passes data through the Arrow C data interface), the Arrow column converters, and the ParquetMetadata format, which is not rewritten here.

The fast test builds with -DENABLE_PARQUET=1 and checks out the arrow, thrift, flatbuffers, and snappy submodules. The binary has no Arrow C++ symbols (only the FlatBuffers IPC bindings).

Tests:

  • The no-fasttest tag is removed from 259 tests, selected by running all 624 tagged tests that mention Parquet or Arrow against a build with the fast-test CMake flags and the fast-test server config. Tests that use pyarrow (not in the fast-test image), ParquetMetadata, ORC, Avro, Iceberg, Delta Lake, or S3 keep the tag.
  • The same 624 tests against the full build and against a master binary in the same environment: no test passes on master and fails with this change.
  • Unit tests that read our files with parquet-cpp (gtest_write_parquet_page_index) pass.
  • A new test 05406_parquet_native_encoders covers round trips through PLAIN, dictionary, and dictionary-to-PLAIN fallback for all physical types, levels of nested columns, and keeping 0/-0 and NaN payloads apart in the dictionary.

Performance (single thread, CPU time, best of 5, aarch64, compared with a master build):

  • Reading DELTA_BINARY_PACKED and BYTE_STREAM_SPLIT columns written by pyarrow: the same (within noise), identical results.
  • Writing: 10–30% faster in all cases (low-cardinality strings, integers, floats, FixedString, booleans, high-cardinality integers that fall back to PLAIN, nullable and array columns).

Follow-ups: rewrite the ParquetMetadata format on parq:: structures (about 16 more tests could then run in the fast test), and remove the Arrow C++ library entirely.

Closes: #126408
Related: #124131
Related: #126406

Changelog category (leave one):

  • Build/Testing/Packaging Improvement

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

The native Parquet reader and writer no longer depend on the Apache Arrow C++ library: a build with Parquet needs only the Thrift-generated Parquet structures. A new CMake option ENABLE_ARROW_LIBRARY controls the Arrow C++ library, which is still used by Hive, Arrow Flight, delta-kernel-rs, and the ParquetMetadata format. Parquet is now tested in the fast test.

🤖 Generated with Claude Code


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

Version info

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

… the fast test

The native Parquet reader and writer called a few functions of Apache Arrow and parquet-cpp,
so `USE_PARQUET` required the whole Arrow C++ library, and Parquet was disabled in the fast test.
Now they depend only on the structures generated from `parquet.thrift` and a minimal Thrift runtime:

- `ch_contrib::parquet_format`: `parquet_types.cpp` with `ch_contrib::thrift_minimal`, the five Thrift
  runtime files needed to (de)serialize structures in memory, without networking and OpenSSL.
- Native bit unpacking for `DELTA_BINARY_PACKED` and decoding of `BYTE_STREAM_SPLIT`.
- CRC32 from zlib.
- Bloom filter hashing on `parq::SchemaElement` and `XXH64`, without `parquet::ColumnDescriptor`.
- Native `PLAIN` and dictionary encoders and the RLE / bit-packed hybrid encoder in the writer.
  The output is byte-identical to the previous writer, which used the encoders of parquet-cpp.
- The legacy Delta Lake reader reads checkpoints with the native Parquet reader.

`USE_PARQUET` now means the native reader and writer, `USE_ARROW` the native `Arrow` and
`ArrowStream` formats, and the new `USE_ARROW_LIBRARY` (CMake option `ENABLE_ARROW_LIBRARY`)
the Apache Arrow C++ library with parquet-cpp, which is still needed for ORC, Hive, Arrow Flight,
delta-kernel-rs, and the `ParquetMetadata` format.

The fast test builds with `-DENABLE_PARQUET=1` and checks out the Arrow, Thrift, FlatBuffers, and
Snappy submodules. The `no-fasttest` tag is removed from 259 tests that pass in this configuration.

Closes: #126408

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

clickhouse-gh Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7f7fcad]

Summary: ✅


AI Review

Summary

This PR removes the Apache Arrow C++ dependency from the native Parquet reader and writer, replaces the remaining codec helpers, and enables broader fast-test coverage. Reviewed head 7f7fcad7b9384805daa6dfec88a7df47ca960ef1, including all prior discussion and fixes. No unresolved findings remain. Validation used source tracing, committed regression coverage, reported interoperability and performance measurements, and public CI, which reports 14,709 passed tests and zero failures. No local builds or executable tests were run.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added pr-build Pull request with build/testing/packaging improvement submodule changed At least one submodule changed in this PR. comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). labels Oct 17, 2026
- Snappy needs crc32c, so check out the `crc32c` submodule in the fast test as well.
- Use a range-based loop in `RLEEncoder` (`modernize-loop-convert`).
- Keep `no-fasttest` on `05243_query_condition_cache_top_k_parquet`: it enables a fail point.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=126477&sha=b74dad691ba426a68510da00db969379ad2b7a2c&name_0=PR
PR: #126477

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added comp-build-system Build system (CMake, compilation, platform builds). and removed comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). labels Oct 17, 2026
alexey-milovidov and others added 3 commits October 18, 2026 16:15
…packBits`

`DELTA_BINARY_PACKED` pages of uncompressed column chunks can point directly
into a page cache cell served by the zero-copy path of `Prefetcher`, which is
not padded. `unpackBits` now takes the end of the input and unpacks the last
values, whose 9-byte loads would cross it, from a zero-padded copy of the tail.
A zero bit width no longer loads anything.

#126477 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh clickhouse-gh Bot added comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). and removed comp-build-system Build system (CMake, compilation, platform builds). labels Oct 18, 2026
alexey-milovidov and others added 2 commits October 21, 2026 01:38
# Conflicts:
#	ci/jobs/fast_test.py
#	src/Processors/Formats/Impl/Parquet/Reader.cpp
The pages can be pruned by different threads, so `--print-profile-events`
may report the profile event in several increments (`1` and `1` instead of `2`),
which made the test fail in the flaky check.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=126477&sha=latest&name_0=PR&name_1=Stateless%20tests%20(amd_binary%2C%20flaky%20check)
#126477

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

Copy link
Copy Markdown
Member Author

@groeneai

Copy link
Copy Markdown
Collaborator

Both are already fixed by merged PRs of mine, which landed after these runs (the workflow for 03fa603 was created 2026-10-18 16:49 UTC):

CIDB has 0 failures of either test on builds that contain the fix (master since then: 0 in 1193 and 919 runs). Every later failing row is a master commit behind the fix or a re-run of a workflow created before it. A re-run reuses the old merge commit, so this PR picks up both fixes with its next push.

@clickhouse-gh clickhouse-gh Bot added comp-build-system Build system (CMake, compilation, platform builds). and removed comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). labels Oct 21, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 7f7fcad7b with master 5252bd271 (stripped binary size, per-symbol sizes and ThinLTO time; compile times per translation unit against the most recent warmup build that recompiled it).

⚠️ Significant changes: object file sizes.

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 ⚠️

7 object files changed (+743.70 KiB total), 6 added.

Object file Master PR Δ
contrib/arrow-cmake/CMakeFiles/_parquet_format.dir/__/arrow/cpp/src/generated/parquet_types.cpp.o new 528.30 KiB +528.30 KiB
contrib/thrift-cmake/CMakeFiles/_thrift_minimal.dir/__/thrift/lib/cpp/src/thrift/transport/TBufferT… new 82.29 KiB +82.29 KiB
src/CMakeFiles/dbms.dir/Processors/Formats/Impl/Parquet/Write.cpp.o 1.45 MiB 1.51 MiB +59.91 KiB (+4.04%)
contrib/thrift-cmake/CMakeFiles/_thrift_minimal.dir/__/thrift/lib/cpp/src/thrift/protocol/TProtocol… new 37.64 KiB +37.64 KiB
src/CMakeFiles/dbms.dir/Processors/Formats/Impl/Parquet/Decoding.cpp.o 427.13 KiB 450.67 KiB +23.54 KiB (+5.51%)
src/CMakeFiles/dbms.dir/Processors/Formats/Impl/Parquet/ALPEncoding.cpp.o 222.07 KiB 199.19 KiB -22.88 KiB (-10.30%)
contrib/thrift-cmake/CMakeFiles/_thrift_minimal.dir/__/thrift/lib/cpp/src/thrift/TOutput.cpp.o new 22.78 KiB +22.78 KiB

717 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 ×0.63, programs/clickhouse-keeper ×0.66 (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&) 5.6 s 11.9 s +8.5 s (+243%)
programs/clickhouse _ZN6detail10static_forITk7is_enumN2DB23AttributeUnderlyingTypeEZNS1_29callOnDictionaryAttributeType… 3.3 s 7.3 s +5.2 s (+252%)
Compile time of recompiled translation units

30 translation units recompiled, 268 s compile time in total, 24 of them have a recent master baseline.

Job report

…out-arrow

Port the accumulation of `GeospatialStatistics` for `GEOMETRY` columns in the native writer from `parquet::geospatial::GeoStatistics` of Arrow to a self-contained WKB bounder, because the native Parquet writer no longer depends on Arrow.
@clickhouse-gh clickhouse-gh Bot added comp-parquet-reader-v3 Issues related to the native Parquet reader. and removed comp-build-system Build system (CMake, compilation, platform builds). labels Oct 21, 2026
alexey-milovidov and others added 2 commits October 23, 2026 02:54
…out-arrow

Master added the `ALP` encoding of Parquet (#125135),
whose writer was an adapter to `parquet::TypedEncoder` and whose reader used
`arrow::internal::unpack`. Reconcile it with the native writer of this branch:
- `ALPEncoder` now has the same interface as `PlainEncoder` and `DictionaryEncoder`
  (`put`, `estimatedDataEncodedSize`, `flush`), and `lastPageEncoding` instead of `encoding`.
- The `ALP` decoder uses the native `unpackBits`, which is now declared in `Decoding.h`.
- Test `04708_functions_to_subcolumns_file_storages`: keep both the removal of the
  `no-fasttest` tag (this branch) and of `SET enable_analyzer` (master).
Comment thread src/configure_config.cmake Resolved
@clickhouse-gh clickhouse-gh Bot added comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). and removed comp-parquet-reader-v3 Issues related to the native Parquet reader. labels Oct 31, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Oct 31, 2026
@alexey-milovidov
alexey-milovidov removed this pull request from the merge queue due to a manual request Oct 31, 2026
…rrent miniblock

The size of a miniblock in bytes, `values_per_block / miniblocks_per_block * bit_width / 8`,
was computed in `size_t` from an unchecked header and could wrap. With a block of 2^61 values
and bit width 64 it became 0, the miniblock kept its full value count, and `unpackBits`,
bounded only by the end of the page, unpacked the deltas from the rest of the page and from
its stack tail buffer past the input instead of rejecting the page. The decoder based on
`arrow::bit_util::BitReader` was bounded by the miniblock and did not read past it.

Now `nextMiniblock` compares the value count with the available bytes in values, so the size
cannot overflow, and `unpackBits` is bounded by the end of the miniblock.

The new test `05459_parquet_delta_binary_packed_miniblock_overflow` reads a hand-crafted file
with such a header: without the fix it returns 200 garbage values, with the fix (and on master)
it throws `ATTEMPT_TO_READ_AFTER_EOF`. The file is excluded from `00900_long_parquet_load_2`,
like the other malformed fixtures.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…out-arrow

# Conflicts:
#	src/Processors/Formats/Impl/Parquet/Decoding.cpp
#	tests/queries/0_stateless/00900_long_parquet_load_2.sh
…out-arrow

Master replaced the `apache/orc` library with a native ORC reader and writer,
so the `ENABLE_ORC` option and the `orc_proto` generation that this branch
kept in `contrib/arrow-cmake` are gone; `USE_ORC` follows master. The Arrow
helper headers keep this branch's `USE_ARROW_LIBRARY` guard.
serprex pushed a commit to serprex/ClickHouse that referenced this pull request Nov 2, 2026
When a filter was applied inside `DeltaBinaryPackedDecoder::decode` and the converter was not
trivial (for example, `INT32` with the converted type `INT_8`), the kept values were decoded
into `temp_values` before conversion, and the filtered-out values were decoded into
`temp_values.data()` as well. Every filtered-out value after a kept one overwrote the first kept
value, so `PREWHERE` returned wrong values, e.g. `[1,4,6,8]` instead of `[1,3,5,7]`.
Filtered-out values now go to a separate scratch value.

Found in the review of ClickHouse#126477

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	src/Processors/Formats/Impl/Parquet/Decoding.cpp
@snelheidai

Copy link
Copy Markdown

Read-side numbers for the crc32_z part of this PR, applied alone to master 607c2a3. By default, ClickHouse writes a CRC into every Parquet page and verifies it on read. On such files, ClickBench URL/Title scans take 5-9% less time at 16 threads and up to 11% less at 4 threads, with 5-10% less CPU. The only exception is q28 on Xeon at 16 threads (−2.7%, not significant).

Change in query time at 16 threads (10 paired runs per query, geometric mean with 95% CI), ClickBench queries over 10M rows, on AWS r7g.4xlarge (Graviton3) and r6i.8xlarge (Xeon Platinum 8375C, pinned to 16 cores):

Query Graviton3 Xeon 8375C
q21 COUNT(*) WHERE URL LIKE '%google%' −5.4% [−9.4, −1.3] −7.9% [−13.5, −2.0]
q22 MIN(URL) WHERE URL LIKE '%google%' … GROUP BY SearchPhrase −5.7% [−9.1, −2.2] −7.4% [−10.5, −4.2]
q23 MIN(Title) WHERE Title LIKE '%Google%' … GROUP BY SearchPhrase −6.6% [−7.8, −5.3] −9.4% [−11.6, −7.1]
q24 SELECT * WHERE URL LIKE '%google%' ORDER BY EventTime −8.6% [−10.3, −6.8] −5.6% [−8.5, −2.6]
q28 AVG(length(URL)) WHERE URL <> '' GROUP BY CounterID −7.6% [−10.8, −4.3] −2.7% [−9.9, +5.0]

Baseline times are 90-230 ms. CPU time (perf stat task-clock of the same runs) falls 5.2-7.2% on Graviton3 and 5.3-8.3% on Xeon, and every 95% interval excludes zero. With 4 threads (6 runs per query, 0.3-0.9 s), query time falls 7.7-11.0% on Xeon; on Graviton3 it falls 3.9-8.9% for q21-q24, and q28 changes by −1.2% (not significant). CPU time falls 4.9-9.9%.

For all 43 ClickBench queries, the full result before LIMIT (count and sum(cityHash64(*))) is identical between the two builds, and a corrupted page is still rejected. Writing 3 ClickBench files with checksums takes the same time (Graviton3: 1.87-1.97 s before, 1.87-1.90 s after), and a 3M-row file written by each build is byte-identical.

Files without page CRCs, such as the published ClickBench Parquet files, are not affected.

Reproduction

Data: the first 10 files of the partitioned ClickBench dataset, rewritten by ClickHouse:

-- hits_{0..9}.parquet from https://datasets.clickhouse.com/hits_compatible/athena_partitioned/
INSERT INTO FUNCTION file('hits_crc.parquet', Parquet)
SELECT * FROM file('hits_{0..9}.parquet', Parquet)
SETTINGS output_format_parquet_compression_method = 'snappy', output_format_parquet_write_checksums = 1;

Table: create.sql from clickhouse-parquet-partitioned with the file name changed to hits_crc.parquet; the queries are lines 21-24 and 28 of its queries.sql. Each run is a separate process with the file in the page cache, alternating the two builds. The statistic is the query time printed by --time; CPU is perf stat -e task-clock around the same command.

taskset -c 0-15 clickhouse local --tmp --time --max_threads=16 --max_parsing_threads=16 \
    --query="$(cat create.sql); $QUERY"

alexey-milovidov and others added 2 commits November 4, 2026 18:55
# Conflicts:
#	src/Processors/Formats/Impl/Parquet/Decoding.cpp
…lock size bound from master

Master bounded the `DELTA_BINARY_PACKED` block size, so the corrupted page of this test is now
rejected in the header with `INCORRECT_DATA` instead of `ATTEMPT_TO_READ_AFTER_EOF` in `unpackBits`.
Also drop the mention of `BitReader::GetBatch` from the comment: the native decoder does not use it.

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

alexey-milovidov commented Nov 4, 2026 •

Copy link
Copy Markdown
Member Author

🕵 Thanks, @snelheidai, for measuring the read side of the crc32_z change on its own. A 5-9% speedup of the ClickBench URL/Title scans over CRC-checked pages on both Graviton3 and Xeon is a good confirmation. I merged master into this branch (8034386) and resolved a conflict in the DELTA_BINARY_PACKED decoder. Because master now bounds the block size, 05459_parquet_delta_binary_packed_miniblock_overflow now gets INCORRECT_DATA, and I updated its reference to match (f5730ab).

@alexey-milovidov

Copy link
Copy Markdown
Member Author

🕵 The only red check on f5730ab was CH Inc sync (tests failed). In private sync PR 82104, the job Stateless tests (amd_msan, distributed cache, meta in keeper, s3 storage, parallel, 2/3) hit its 9000 s timeout. No test failed: 5957 of 5965 tests had passed when it was killed. I reran the failed jobs. I also merged master into this branch (3d52207). The merge was clean, but master changed Parquet/Decoding.cpp, Parquet/Reader.cpp, ArrowGeoTypes and ArrowColumnToCHColumn.cpp, which this PR also touches. So I built the merged tree locally and ran the PR's Parquet tests and the GeoParquet tests, including the new 05497_geoparquet_native_encodings from master; all of them pass.

alexey-milovidov and others added 2 commits November 8, 2026 16:31
# Conflicts:
#	src/Processors/Formats/Impl/Parquet/Decoding.cpp
#	src/Storages/ObjectStorage/DataLakes/DeltaLakeMetadata.cpp
…out-arrow

Resolve conflicts with the migration of `src/Processors/Formats` to
`-WithMemoryTracking` containers: keep the Arrow-free `parq::SchemaElement`
interfaces of this branch and use `VectorWithMemoryTracking` as master does.
Also use `SetWithMemoryTracking` in `StatisticsGeometry` and mark the thrift
setter argument with `STYLE_CHECK_ALLOW_STD_CONTAINERS` to pass the style check.

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

Copy link
Copy Markdown
Member Author

🕵 The only red check on 0651104 was CH Inc sync ("Failed. Needs manual intervention"): the sync bot could not merge private master and the new public head into sync-upstream/pr/126477. I overlaid the PR files onto private master (commit 7a881d628b4d, parents: old sync tip, private master, public head) and resolved two conflicts: in ArrowBufferedStreams.cpp I kept the Formats/FormatSettings.h include from private master together with the PR's USE_ARROW_LIBRARY guard, and in 00900_long_parquet_load_2.sh I kept both lists of excluded files. The file-level numstat matches the public PR diff. The merged Decoding.cpp, Write.cpp, parquetBloomFilterHash.cpp and ArrowBufferedStreams.cpp pass -fsyntax-only. The sync PR is MERGEABLE again and private CI is running. All other CI checks are green, and there are no unresolved review threads.

…out-arrow

Resolve the conflict in `ArrowBufferedStreams.cpp`: keep the explicit
`Formats/FormatSettings.h` include from master and the `USE_ARROW_LIBRARY`
guard from this branch. Also guard the new
`gtest_ch_column_to_arrow_column_record_batch_split.cpp` with
`USE_ARROW_LIBRARY`, because `CHColumnToArrowColumn` is only built with
the Arrow library now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Nov 11, 2026
Merged via the queue into master with commit 885516f Nov 11, 2026
188 checks passed
@alexey-milovidov
alexey-milovidov deleted the native-parquet-without-arrow branch November 11, 2026 20:01
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 11, 2026
groeneai added a commit to groeneai/ClickHouse that referenced this pull request Nov 12, 2026
…e fast test

ClickHouse#126477 builds Parquet in the fast test and removed `no-fasttest` from 03548, so the cases this PR
added to it ran there and failed: the fast test has neither pyarrow nor the IcebergLocal engine.
They now live in 03548_parquet_missing_tuple_elements_pyarrow_iceberg, tagged `no-fasttest`; the
cases that only use files written by ClickHouse stay in 03548 and keep running in the fast test.
The moved cases and their expected output are unchanged.

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

Labels

comp-formats Input/output formats (CSV/JSON/Parquet/ORC/Arrow/Protobuf/etc.). pr-build Pull request with build/testing/packaging improvement pr-synced-to-cloud The PR is synced to the cloud repo submodule changed At least one submodule changed in this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make native Parquet independent of Arrow and enable it in the fast test

4 participants