This is an automated email from the ASF dual-hosted git repository.
pitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 910292405bb GH-53615: [C++][Parquet] Add ALP to file-level fuzz corpus
(#53671)
910292405bb is described below
commit 910292405bb82ccbf057b9801f5e4b922ea23788
Author: Gang Wu <[email protected]>
AuthorDate: Wed Oct 14 20:57:52 2026 +0800
GH-53615: [C++][Parquet] Add ALP to file-level fuzz corpus (#53671)
### Rationale for this change
Follow up on #48345 by including ALP in the generated Parquet file-level
fuzz corpus.
### What changes are included in this PR?
Add `Encoding::ALP` to `kFloatEncodings`.
### Are these changes tested?
N/A.
### Are there any user-facing changes?
No. This only changes fuzzing seed generation, not production reader or
writer behavior.
### Was AI used for this PR?
AI prepared and reviewed the one-line change and the PR description.
**PR code and description written by:**
- [ ] Human
- [x] AI
**Reviewed before submission by:**
- [x] Human
- [x] AI
- [ ] Not reviewed
Closes #53615.
* GitHub Issue: #53615
Authored-by: Gang Wu <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
---
cpp/src/parquet/arrow/generate_fuzz_corpus.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/parquet/arrow/generate_fuzz_corpus.cc
b/cpp/src/parquet/arrow/generate_fuzz_corpus.cc
index d01ac1fe629..9f52081de86 100644
--- a/cpp/src/parquet/arrow/generate_fuzz_corpus.cc
+++ b/cpp/src/parquet/arrow/generate_fuzz_corpus.cc
@@ -396,7 +396,7 @@ Result<std::vector<ColumnWithEncodings>>
AllColumnsWithEncodings(
Encoding::DELTA_BINARY_PACKED,
Encoding::BYTE_STREAM_SPLIT};
const EncodingVector kFloatEncodings = {Encoding::PLAIN,
Encoding::RLE_DICTIONARY,
- Encoding::BYTE_STREAM_SPLIT};
+ Encoding::BYTE_STREAM_SPLIT,
Encoding::ALP};
const EncodingVector kBooleanEncodings = {Encoding::PLAIN, Encoding::RLE};
const EncodingVector kByteArrayEncodings = {Encoding::PLAIN,
Encoding::RLE_DICTIONARY,
Encoding::DELTA_LENGTH_BYTE_ARRAY,