Affiliations
Projects
Maintains
Contributes to
1,980 commitssource: github.com ↗✓ verified
1 commitssource: github.com ↗✓ verified
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PRGH-55715: [C++][Parquet] Release pre-buffered data in ParquetFileReader::Close()
Rationale for this change ParquetFileReader::Close() doesn't release pre-buffered data. Pre-buffering is enabled by default. If the source is a memory mapped file, the pre-buffered data refers to the mapped memory. So the file is still…
Apache Arrow#55716 · by kou - Merged PRbuild: Fix a typo that made Findzstd.cmake ignore ZSTD_LIBRARYDIR
find_library() for the release zstd library searched the literal path $ZSTD_LIBRARYDIR} instead of ${ZSTD_LIBRARYDIR}.
Velox#20474 · by kou - Merged PRrefactor(parquet): Copy Arrow's spaced.h into the Parquet writer
The Parquet writer's encoders and decoders use SpacedCompress() and SpacedExpand() from arrow/util/spaced.h. Arrow 21 renamed this header to arrow/util/spaced_internal.h and stopped installing it. This blocks updating the bundled Arrow to…
Velox#20441 · by kou - Merged PRrefactor(parquet): Support Arrow 21 and 25 APIs in the Parquet writer
Arrow 21 removed arrow::internal::GenericToStatus() and arrow/util/string_builder.h, which the Parquet writer's exception macros use. Arrow 25 changed arrow::util::base64_decode() to return arrow::Result . This blocks updating the bundled…
Velox#20371 · by kou - Merged PRrefactor(parquet): Use Velox's addWithOverflow in the Parquet writer
The Parquet writer has a copy of Arrow's int_util_overflow.h in the arrow::internal namespace. Arrow 26's public headers, such as arrow/util/value_parsing.h, include the original header, so functions such as…
Velox#20310 · by kou - Merged PRGH-55495: [Packaging][deb] Extract source archive like dpkg-source in apt/build.sh
Rationale for this change dev/tasks/linux-packages/apt/build.sh assumes that the top-level directory in the source archive is ${PACKAGE}-${VERSION}/. It needs special cases for ~dev and ~rc versions because their source archives use…
Apache Arrow#55496 · by kou - Merged PRrefactor: Replace Arrow macros and helpers removed in Arrow 26
The Parquet writer and the HDFS file system use Arrow macros and helpers that Arrow 26 removed: MANUALLY_ALIGNED_STRUCT, STRUCT_END, RETURN_NOT_OK_ELSE, DCHECK and bit_util::NumRequiredBits(). This blocks updating the bundled Arrow to…
Velox#20248 · by kou - Merged PRrefactor(parquet): Replace Arrow bit utilities removed in Arrow 26
The Parquet reader uses Arrow helpers that Arrow 26 no longer provides. Arrow 26 doesn't install arrow/util/bpacking.h, and its bit_util.h dropped NumRequiredBits(), PopCount() and ARROW_POPCOUNT32. This blocks updating the bundled Arrow…
Velox#20189 · by kou - Merged PRGH-54689: [GLib] Keep the table alive in GArrowTableBatchReader
Rationale for this change If we use *arrow_table, TableBatchReader(const Table& table) is used instead of TableBatchReader(std::shared_ptr table). The former doesn't own the table. So the table may be freed while the TableBatchReader is…
Apache Arrow#55387 · by kou - Merged PRGH-54688: [GLib][Ruby] Keep chunks of ChunkedArray alive
Rationale for this change Arrays referred by Arrow::ChunkedArray aren't referred. So These arrays may be GC-ed. What changes are included in this PR? GArrowChunkedArray: Refer passed chunks. garrow_chunked_array_peek_chunk(): New function…
Apache Arrow#55376 · by kou - Merged PRbuild: Update simdjson to 4.3.0 (from 4.1.0)
Apache Arrow 26 requires simdjson 4.3.0 or later. Velox bundles and installs simdjson 4.1.0, which blocks updating the bundled Arrow to 26.0.0 (#19737). Arrow must use the same simdjson as Velox so that the process has one simdjson. Velox…
Velox#19975 · by kou - Merged PRGH-55279: [C++] Fix build errors with ARROW_BUILD_{SHARED,STATIC,TESTS}=ON on Windows
Rationale for this change We can't build Arrow C++ with ARROW_BUILD_SHARED=ON, ARROW_BUILD_STATIC=ON and ARROW_BUILD_TESTS=ON on Windows. Tests are linked with shared libraries by default (ARROW_TEST_LINKAGE=shared) but some targets use…
Apache Arrow#55294 · by kou - Merged PRGH-44349: [GLib] Keep GBytes alive in GBytes based buffers
Rationale for this change If a GArrowBuffer is freed but the underlying arrow::Buffer is still alive, the arrow::Buffer still refers invalidated data. What changes are included in this PR? Create our arrow::Buffer subclass that refers…
Apache Arrow#55333 · by kou - Merged PRGH-55328: [Ruby] Mark all sources of `Arrow::RecordBatchReader`
Rationale for this change record_batch_reader_mark() uses a wrong loop variable. What changes are included in this PR? Fix the wrong loop variable. Are these changes tested? Yes. Are there any user-facing changes? Yes. Was AI used for this…
Apache Arrow#55329 · by kou - Merged PRfix(build): Link gmock to the Nimble tests that use it
The Nimble index and serializer tests include gmock/gmock.h but linked only gtest. Their compile commands lacked the bundled googlemock include directory, so the system gmock headers were used with the bundled gtest headers. With bundled…
Velox#19768 · by kou