instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apache__arrow-rs__8376 | apache/arrow-rs | 8,376 | defect | c4967d0c34e35de34f3c02d0ebdce9bcf9f834f3 | ebae0af772d2e187e9a3c4c732f0437c5b65f1d7 | [thrift-remodel] Use new Thrift encoder/decoder for Parquet page headers | # Which issue does this PR close?
**Note: this targets a feature branch, not main**
- Part of #5854.
# Rationale for this change
This continues the remodel, moving on to `PageHeader` support.
# What changes are included in this PR?
Swaps out old `format` page header structs for new ones. This also adds ... | diff --git a/parquet/benches/metadata.rs b/parquet/benches/metadata.rs
index 8c886e4d5eea..ced0175da878 100644
--- a/parquet/benches/metadata.rs
+++ b/parquet/benches/metadata.rs
@@ -258,6 +258,26 @@ fn criterion_benchmark(c: &mut Criterion) {
});
})
});
+
+ #[cfg(feature = "arrow")]
+ ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The thrift_struct macros in parquet_macros.rs are an experiment that will eventually go away.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bench_file_metadata helper exposed in thrift_gen.rs for benchmarking should live in t... | null |
apache__arrow-rs__8379 | apache/arrow-rs | 8,379 | defect | 1f77ac51c760108ec6263c30666d6581955da336 | e6b24d14e3d9daffe9805f535916648ba0478e5e | [Variant] [Shredding] feat: Support typed_access for Date32 | # Which issue does this PR close?
- Closes #8330.
# Rationale for this change
# What changes are included in this PR?
# Are these changes tested?
Yes
# Are there any user-facing changes?
N/A
| diff --git a/parquet-variant-compute/src/variant_array.rs b/parquet-variant-compute/src/variant_array.rs
index 4abffa65c23f..faaa1611ef06 100644
--- a/parquet-variant-compute/src/variant_array.rs
+++ b/parquet-variant-compute/src/variant_array.rs
@@ -21,8 +21,8 @@ use crate::type_conversion::primitive_conversion_single... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the partially_shredded_date32_variant_array test fixture the metadata field is marked nullable (with_field(\"metadata\", ..., true)), although variant metadata is non-nullable.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__arrow-rs__8392 | apache/arrow-rs | 8,392 | defect | e4d9942e4e7b4fc9e46f5da2bca3c2207496c538 | 4b1daab75fbce48046c5730689ed599c7bba7ffe | Add Arrow Variant Extension Type, remove `Array` impl for `VariantArray` and `ShreddedVariantFieldArray` | # Which issue does this PR close?
- closes https://github.com/apache/arrow-rs/issues/8319
- closes https://github.com/apache/arrow-rs/issues/8296
# Rationale for this change
This is needed to [read/write the Variant Parquet logical type](https://github.com/apache/arrow-rs/issues/8370) and work with the rest o... | diff --git a/parquet-variant-compute/benches/variant_kernels.rs b/parquet-variant-compute/benches/variant_kernels.rs
index 5e97f948b231..3cdb28229b8a 100644
--- a/parquet-variant-compute/benches/variant_kernels.rs
+++ b/parquet-variant-compute/benches/variant_kernels.rs
@@ -84,7 +84,7 @@ fn benchmark_batch_json_string_... | 16 | 10 | 2 | [{"id": "G0", "claim": "Casting the input to BinaryView arrays inside VariantArray::try_new is an unfortunate workaround that should be replaced by the real solution tracked in #8387.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Making ShreddedPathStep... | null |
apache__arrow-rs__8438 | apache/arrow-rs | 8,438 | defect | f7ea0aa815d24ab1cf66bfebe92c4c85f891e4d1 | 811f4a5c76a98d7ea38899f811533761cf8cb614 | Variant integration fixes | # Which issue does this PR close?
Closes
- https://github.com/apache/arrow-rs/issues/8435
- https://github.com/apache/arrow-rs/issues/8420
# Rationale for this change
It turns out we were too permissive in our handling of `typed_value` columns and certain other exceptional cases that parquet's variant integr... | diff --git a/parquet-variant-compute/src/variant_array.rs b/parquet-variant-compute/src/variant_array.rs
index dbed1a4fbb40..42a9081f4826 100644
--- a/parquet-variant-compute/src/variant_array.rs
+++ b/parquet-variant-compute/src/variant_array.rs
@@ -23,7 +23,6 @@ use arrow::buffer::NullBuffer;
use arrow::compute::cas... | 5 | 3 | 2 | [{"id": "G0", "claim": "Variant data is untrusted and every production caller of VariantArray::value is in fallible code, so value should be made fallible (or a fallible try_value added) rather than panicking on malformed variant data.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced... | null |
apache__arrow-rs__8445 | apache/arrow-rs | 8,445 | defect | bd6d1da2690b9951442f3330930851cbeda955bf | a87b0a255d22a5e4572d78853970247bce2c7e9a | [thrift-remodel] Use new writer to write Parquet file metadata | # Which issue does this PR close?
**Note: this targets a feature branch, not main**
- Part of #5854.
# Rationale for this change
This PR closes the loop and and now Parquet metadata is completely handled by the new code.
# What changes are included in this PR?
Changes the metadata builders to use the ... | diff --git a/parquet/benches/metadata.rs b/parquet/benches/metadata.rs
index ced0175da878..1992a6868f43 100644
--- a/parquet/benches/metadata.rs
+++ b/parquet/benches/metadata.rs
@@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.
+#[cfg(feature = "arrow")]
+use parque... | 7 | 5 | 1 | [{"id": "G0", "claim": "The expected memory size in the test jumped from 2616 to 2712 and the author still needs to track down why.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The self-comparing schema assert in test_multi_threaded_encrypted_writing ... | null |
apache__arrow-rs__8514 | apache/arrow-rs | 8,514 | defect | 8eca76df2986908bcfa175fa6b16c52d1019a874 | f276fb7511c6748bd7699ace04b2b9d4c7ccd6a4 | [Variant] Add list support to unshred_variant | * NOTE: Stacked on https://github.com/apache/arrow-rs/pull/8481, ignore the first commit when reviewing.
# Which issue does this PR close?
- Closes #8337
# Rationale for this change
Add a missing feature.
# What changes are included in this PR?
Leveraging the recently added `ListLikeArray` trait, supp... | diff --git a/parquet-variant-compute/Cargo.toml b/parquet-variant-compute/Cargo.toml
index 828ad77bd61e..cadfa1cbb63a 100644
--- a/parquet-variant-compute/Cargo.toml
+++ b/parquet-variant-compute/Cargo.toml
@@ -38,6 +38,7 @@ indexmap = "2.10.0"
parquet-variant = { workspace = true }
parquet-variant-json = { workspace... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new list-unshredding append_row logic needs a reasonable way to be tested — perhaps rework the cast_to_variant tests to shred and then unshred an array and verify it survives round tripping.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
apache__arrow-rs__8524 | apache/arrow-rs | 8,524 | defect | ef51f1170defb80039fff283565de2ca7f738fd9 | 203ea9c9b899b9f6e34b75f033ce1f3bce906a3e | Support writing GeospatialStatistics in Parquet writer | # Which issue does this PR close?
- Closes #8523.
# Rationale for this change
One of the primary reasons the GeoParquet community was excited about first-class Parquet Geometry/Geography support was the built-in column chunk statistics (we had a workaround that involved adding a struct column, but it was diffi... | diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml
index 09b9a916917a..aa0071ca38e5 100644
--- a/parquet/Cargo.toml
+++ b/parquet/Cargo.toml
@@ -45,6 +45,7 @@ arrow-data = { workspace = true, optional = true }
arrow-schema = { workspace = true, optional = true }
arrow-select = { workspace = true, optional = true }
... | 10 | 9 | 2 | [{"id": "G0", "claim": "The variable_length_bytes computation (which feeds the written SizeStatistics) should execute even when a geospatial statistics accumulator is present, since size statistics are useful without min/max statistics.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
apache__arrow-rs__8540 | apache/arrow-rs | 8,540 | defect | 4b62c8004f5c617fc6b552c7fce73fc93c8fab04 | 5a06fd5b5baaa844a739ad4c979bf5c0f76430fb | [Variant] Decimal unshredding support | # Which issue does this PR close?
- Closes https://github.com/apache/arrow-rs/issues/8332
# Rationale for this change
Missing feature
# What changes are included in this PR?
Add decimal unshredding support, which _should_ have been straightforward except:
1. The variant decimal types are not generic and... | diff --git a/parquet-variant-compute/src/unshred_variant.rs b/parquet-variant-compute/src/unshred_variant.rs
index f0c1a639bada..8be6eb4df7d5 100644
--- a/parquet-variant-compute/src/unshred_variant.rs
+++ b/parquet-variant-compute/src/unshred_variant.rs
@@ -25,15 +25,18 @@ use arrow::array::{
};
use arrow::buffer::N... | 2 | 2 | 2 | [{"id": "G0", "claim": "Back out the parquet change that makes files currently read as Decimal128 come back as Decimal32/Decimal64, and handle it in a separate ticket (special-casing the test harness to cast the decimal types if needed) instead of solving Parquet->Decimal32/64 support in this PR.", "category": "design"... | null |
apache__arrow-rs__8629 | apache/arrow-rs | 8,629 | defect | 751b0822a7f0b2647c1c662131131b35f268bfef | 6d47b9ccb92d22a0505b662b2eba0fed20804c8e | [Variant] Bulk insert elements into List and Object Builders | # Rationale for this change
This PR implements `Extend` for list and object builders. This way, we can easily bulk insert items.
| diff --git a/parquet-variant/src/builder.rs b/parquet-variant/src/builder.rs
index d44e9b10a313..80a77d12fdf4 100644
--- a/parquet-variant/src/builder.rs
+++ b/parquet-variant/src/builder.rs
@@ -277,11 +277,7 @@ impl ValueBuilder {
fn append_object<S: BuilderSpecificState>(state: ParentState<'_, S>, obj: Variant... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `where` clause would probably be more helpful than inline trait bounds with odd indentation on the ObjectBuilder `Extend` impl header, and ditto for the ListBuilder impl above.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__arrow-rs__9491 | apache/arrow-rs | 9,491 | defect | a20753c70c74258831df149e6fb222b6ec501098 | 65d0e0a5250b6a949f465277f72cd35a77341dc7 | Deprecate ArrowTimestampType::make_value in favor of from_naive_datetime | Mark ArrowTimestampType::make_value as deprecated and migrate internal callers to the newer from_naive_datetime API.
# Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an i... | diff --git a/arrow-arith/src/numeric.rs b/arrow-arith/src/numeric.rs
index a57ba67544b7..f5a844ffd280 100644
--- a/arrow-arith/src/numeric.rs
+++ b/arrow-arith/src/numeric.rs
@@ -1320,7 +1320,10 @@ mod tests {
"1960-01-30T04:23:20Z",
]
.into_iter()
- .map(|x| T::make_value(DateTime... | 4 | 3 | 0 | [{"id": "G0", "claim": "The rendered documentation page for ArrowTimestampType::from_naive_datetime also needs an update.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Having to put #[allow(deprecated)] on the make_value impls to implement a re... | null |
apache__arrow__45462 | apache/arrow | 45,462 | defect | 218c8861f52444dcf7b6d78e1dd266706e584ffe | ced4b6e882f4226c30bc0227d391fbbca5f8d00a | GH-41246: [C++][Python] Simplify nested field encryption configuration | ### Rationale for this change
Columns can b encrypted with individual keys. For this, the column name have to be set in `EncryptionConfiguration::column_keys`. This poses the following challenges for columns with nested fields like `MapType`, `ListType`, and `StructType`. Encrypting a column of such type requires pr... | diff --git a/cpp/examples/arrow/parquet_column_encryption.cc b/cpp/examples/arrow/parquet_column_encryption.cc
index 2ea4f44f172d..22bd1e52851e 100644
--- a/cpp/examples/arrow/parquet_column_encryption.cc
+++ b/cpp/examples/arrow/parquet_column_encryption.cc
@@ -19,6 +19,7 @@
#include "arrow/dataset/file_parquet.h"
#... | 12 | 10 | 3 | [{"id": "G0", "claim": "A linter fix is needed in the while loop of FileEncryptionProperties::encrypt_schema, which currently fails the CI lint check.", "category": "style", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pitrou questions whether the added map key/value shorthan... | null |
apache__arrow__47200 | apache/arrow | 47,200 | defect | f9301c0ba8a7ed1b0b63275cfdd4c44c26b04675 | ebd5252dbd177be81ecc376694ce5f67d9f81e6e | GH-46982: [C++] Remove Boost dependency from hdfs_test | ### Rationale for this change
resolve #46982
### What changes are included in this PR?
remove boost dependency from hdfs_test
### Are these changes tested?
partially, not tested with hdfs
### Are there any user-facing changes?
no
* GitHub Issue: #46982 | diff --git a/cpp/src/arrow/io/CMakeLists.txt b/cpp/src/arrow/io/CMakeLists.txt
index f7afbca5580b..0398422b0536 100644
--- a/cpp/src/arrow/io/CMakeLists.txt
+++ b/cpp/src/arrow/io/CMakeLists.txt
@@ -28,9 +28,7 @@ if(ARROW_HDFS)
PREFIX
"arrow-io"
EXTRA_LINK_LIBS
- ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The bespoke random-string generator (RandomPath) added in hdfs_test.cc should reuse Arrow's testing utilities instead: kou first suggested arrow::random_ascii(), and, after the author showed that is unsuitable for paths, asked to move the random string generation into arrow/testing/util.{c,h} li... | null |
apache__arrow__47764 | apache/arrow | 47,764 | defect | ac9d7216b7e2f321ba779a074e44ed9057961519 | 19da64d0b931d4dcf7ee449cd65fd4b4b5532362 | GH-46575: [C++][FlightRPC] Add Diagnostic tests | ### Rationale for this change
Putting the tests for diagnostics in a separate PR from https://github.com/apache/arrow/pull/47763, because non-diagnostic ODBC APIs are required to get diagnostics.
### What changes are included in this PR?
- Add tests for ODBC diagnostics
### Are these changes tested?
PR depen... | diff --git a/cpp/src/arrow/flight/sql/odbc/tests/errors_test.cc b/cpp/src/arrow/flight/sql/odbc/tests/errors_test.cc
new file mode 100644
index 000000000000..fa7b1bcdfc1a
--- /dev/null
+++ b/cpp/src/arrow/flight/sql/odbc/tests/errors_test.cc
@@ -0,0 +1,731 @@
+// Licensed to the Apache Software Foundation (ASF) under o... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new errors tests should not use the shared FlightSQLODBCTestBase directly but subclass it into a fixture specific to this file.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests' setup ODBC calls should use ASSERT (ASSE... | null |
apache__arrow__47992 | apache/arrow | 47,992 | defect | c10847cde60fa03c1f5c35d70381d679b62f434e | ba8cd20a74a5fb697771ac8b46ba6c37df44cde0 | GH-47981: [C++][Parquet] Add compatibility with non-compliant RLE stream | ### Rationale for this change
RLE-bit-packed streams are required by the Parquet spec to have 8-padded bit-packed runs, but some non-compliant encoders (such as Polars versions before https://github.com/pola-rs/polars/pull/13883) might generate a truncated last bit-packed run, which nevertheless contains enough *log... | diff --git a/cpp/src/arrow/util/bit_util.h b/cpp/src/arrow/util/bit_util.h
index 52a42f538b51..c7849db871ac 100644
--- a/cpp/src/arrow/util/bit_util.h
+++ b/cpp/src/arrow/util/bit_util.h
@@ -372,10 +372,12 @@ void PackBits(const uint32_t* values, uint8_t* out) {
}
}
-constexpr int64_t MaxLEB128ByteLen(int64_t n_b... | 2 | 2 | 1 | [{"id": "G0", "claim": "The PR should keep the explicit error check on the LEB128 header parse (returning Break when header_bytes == 0) instead of relying on downstream count == 0 checks.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The change fro... | null |
apache__arrow__47998 | apache/arrow | 47,998 | defect | 719c32e2f1683658fb6ad16b1cc51637b93442cd | ca2724aa58be99778175509836d2b54346f5b2e7 | GH-47973: [C++][Parquet] Fix invalid Parquet files written when dictionary encoded pages are large | ### Rationale for this change
Prevents silently writing invalid data when using dictionary encoding and the number of bits in the estimated max buffer size is greater than the max int32 value.
Also fixes an overflow resulting in a "Negative buffer resize" error if the buffer size in bytes is greater than max int3... | diff --git a/cpp/src/arrow/util/bit_stream_utils_internal.h b/cpp/src/arrow/util/bit_stream_utils_internal.h
index cf039a9ac9fa..dea1d01604d2 100644
--- a/cpp/src/arrow/util/bit_stream_utils_internal.h
+++ b/cpp/src/arrow/util/bit_stream_utils_internal.h
@@ -59,7 +59,7 @@ class BitWriter {
int buffer_len() const { r... | 2 | 1 | 0 | [{"id": "G0", "claim": "CheckBufferFull should also be updated to use 64-bit arithmetic.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The RLE-bit-packed encoder not generating literal runs of more than 512 values at a time might pessimize decodi... | null |
apache__arrow__48161 | apache/arrow | 48,161 | defect | 076a67b36816fed153b7cedb24d4a0ff72255a13 | 704804b525728f85c9c0045ece124ad59d45c486 | GH-48160: [C++][Gandiva] Pass CPU attributes to LLVM | ### Rationale for this change
The CPU attributes are not passed to the LLVM layer, which means potential optimizations could be missed leading to inefficient code. This feature was lost as part of the refactoring in https://github.com/apache/arrow/commit/83cba25017a5c3a03e47f1851f242fa284f93533
I also discovered ... | diff --git a/cpp/src/gandiva/CMakeLists.txt b/cpp/src/gandiva/CMakeLists.txt
index e5760243b399..31a86d5da9d6 100644
--- a/cpp/src/gandiva/CMakeLists.txt
+++ b/cpp/src/gandiva/CMakeLists.txt
@@ -274,6 +274,7 @@ add_gandiva_test(internals-test
hash_utils_test.cc
gdv_function_stubs_tes... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use TEST() instead of TEST_F() in VerifyDataLayoutForArchitecture because the fixture's SetUp() is empty.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use ASSERT_FALSE() instead of EXPECT_FALSE() for the data layout str... | null |
apache__arrow__48171 | apache/arrow | 48,171 | defect | 5a480444da35fa26bc6952755510ad39df9f7002 | 71ed279dab74102974fd9c82cef47ce52b83f1de | GH-43660: [C++][Compute] Avoid ZeroCopyCastExec when casting Binary offset -> Binary offset types | ### Rationale for this change
Casting Binary offset -> Binary offset types relies on ZeroCopyCastExec, which propagates the offset of the input to the output. This can lead to larger allocations than necessary when casting arrays with offsets.
See https://github.com/apache/arrow/issues/43660 and
https://github.... | diff --git a/cpp/src/arrow/compute/kernels/scalar_cast_string.cc b/cpp/src/arrow/compute/kernels/scalar_cast_string.cc
index 3442d46f16e4..7548df16e2b1 100644
--- a/cpp/src/arrow/compute/kernels/scalar_cast_string.cc
+++ b/cpp/src/arrow/compute/kernels/scalar_cast_string.cc
@@ -20,6 +20,7 @@
#include "arrow/array/ar... | 5 | 5 | 4 | [{"id": "G0", "claim": "The manual buffer-copying path should run only when the input and output offset types differ in size, with the same-size case left to ZeroCopyCastExec, since the allocation issue only arises when going between 32- and 64-bit offsets.", "category": "design", "verdict": "supported", "priority": "P... | null |
apache__arrow__48322 | apache/arrow | 48,322 | defect | 618090843fdb199ea86a1febb1e6e4f36cf35038 | bac653a0097070102c2b61c78312caa32bb562a7 | GH-48311: [C++] Fix OOB memory access in buffered IO | ### Rationale for this change
Fixing: https://github.com/apache/arrow/issues/48311
### What changes are included in this PR?
Applied fix from https://github.com/apache/arrow/issues/48311 and added test
### Are these changes tested?
Yes, added test, without my patch test fails with debug check:
```cpp
N... | diff --git a/cpp/src/arrow/io/buffered.cc b/cpp/src/arrow/io/buffered.cc
index 0dae888ca0e6..7d18a782d7ec 100644
--- a/cpp/src/arrow/io/buffered.cc
+++ b/cpp/src/arrow/io/buffered.cc
@@ -297,12 +297,14 @@ class BufferedInputStream::Impl : public BufferedBase {
new_buffer_size, ", buffer_pos: ", buffer_pos_,
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Rewrite the SetBufferSize doc comment, which still says the function will not change buffer_pos_, now that the change makes it reset buffer_pos_ to 0.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__arrow__48674 | apache/arrow | 48,674 | defect | 7de2f61762e09044073659d859ac5e87dd66f6b9 | 9e45671c8acfcf0c7da9807adeef689be7fe70bf | GH-48673: [C++] Fix ToStringWithoutContextLines to check for :\d+ pattern before removing lines | ### Rationale for this change
This PR proposes to fix the todo https://github.com/apache/arrow/blob/7ebc88c8fae62ed97bc30865c845c8061132af7e/cpp/src/arrow/status.cc#L131-L134 which would allows a better parsing for line numbers.
I could not find the relevant example to demonstrate within this project but assume t... | diff --git a/cpp/src/arrow/status.cc b/cpp/src/arrow/status.cc
index 55ce3fb78d25..b97a9e3de080 100644
--- a/cpp/src/arrow/status.cc
+++ b/cpp/src/arrow/status.cc
@@ -13,6 +13,7 @@
#include "arrow/status.h"
#include <cassert>
+#include <cctype>
#include <cstdlib>
#include <iostream>
#ifdef ARROW_EXTRA_ERROR_CONT... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new test should assert the exact expected message instead of using find() with std::string::npos, so a failure log shows the actual message and is easier to debug.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The context-li... | null |
apache__arrow__48742 | apache/arrow | 48,742 | defect | 7ba1a7b99b3c036d9d14d345876cfe7194ecaacc | cdf530b301f5314ffe8482846f6d102d4af8efc2 | GH-48741: [C++] Fix deadlock in CSV AsyncThreadedTableReader destructor | ### Rationale for this change
When reading a CSV file encounters an early error, and the `AsyncThreadedTableReader` is only kept alive through the chain of futures and their callbacks, the `~AsyncThreadedTableReader` destructor will be executed at the end of a `TaskGroup` task and try to wait for the `TaskGroup` its... | diff --git a/cpp/src/arrow/csv/column_builder.cc b/cpp/src/arrow/csv/column_builder.cc
index 393df18ec4ca..c28feb41c126 100644
--- a/cpp/src/arrow/csv/column_builder.cc
+++ b/cpp/src/arrow/csv/column_builder.cc
@@ -47,7 +47,8 @@ namespace csv {
class BlockParser;
-class ConcreteColumnBuilder : public ColumnBuilder... | 1 | 1 | 1 | [{"id": "G0", "claim": "A dedicated test case for the deadlock fix should be constructed and added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__arrow__48865 | apache/arrow | 48,865 | defect | 7820f672edbbd516661740db9c355f2bc42bf602 | 730eb94413dee6903dcc33917967b0e9eb21a35b | GH-48864: [C++] Support customizing more Zstd parameters | ### Rationale for this change
Support customizing more Zstd parameters to allow users to optimize the performance of parquet page compression/decompression.
### What changes are included in this PR?
1. Add a new class `ZstdCodecOptions` inherited from `CodecOptions`.
2. Create `ZSTD_CCtx`/`ZSTD_DCtx` explicit... | diff --git a/cpp/src/arrow/util/compression.cc b/cpp/src/arrow/util/compression.cc
index d47885697322..1b242a8758ff 100644
--- a/cpp/src/arrow/util/compression.cc
+++ b/cpp/src/arrow/util/compression.cc
@@ -19,6 +19,7 @@
#include <memory>
#include <string>
+#include <unordered_map>
#include <utility>
#include "... | 14 | 12 | 4 | [{"id": "G0", "claim": "The new ZstdCodecOptions parameter members should use std::vector<std::pair<int, int>> instead of std::unordered_map.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parameter members named cctx_params and dctx_params should be... | null |
apache__arrow__48867 | apache/arrow | 48,867 | defect | 7820f672edbbd516661740db9c355f2bc42bf602 | 5aac1139b4c0f94de7412a902a4ca11b055e521b | GH-48866: [C++][Gandiva] Truncate subseconds beyond milliseconds in `castTIMESTAMP_utf8` and `castTIME_utf8` | ### Rationale for this change
Fixes #48866. The Gandiva precompiled time functions `castTIMESTAMP_utf8` and `castTIME_utf8` currently reject timestamp and time string literals with more than 3 subsecond digits (beyond millisecond precision), throwing an "Invalid millis" error. This behavior is inconsistent with othe... | diff --git a/cpp/src/gandiva/precompiled/time.cc b/cpp/src/gandiva/precompiled/time.cc
index 8bbd0930991c..388c0488ccd0 100644
--- a/cpp/src/gandiva/precompiled/time.cc
+++ b/cpp/src/gandiva/precompiled/time.cc
@@ -747,11 +747,12 @@ gdv_timestamp castTIMESTAMP_utf8(int64_t context, const char* input, gdv_int32 l
/... | 3 | 2 | 1 | [{"id": "G0", "claim": "The duplicated sub-second truncation/padding code in castTIMESTAMP_utf8 and castTIME_utf8 should be factored out into a common function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G3", "claim": "Declaring the helper with an always_i... | null |
apache__arrow__48939 | apache/arrow | 48,939 | defect | b29b786ed3d770a9d9765ee6b1ed221e887e9093 | b8cff044f21f5c289b7a48b172ad5b94813c0e3b | GH-48394: [C++][Parquet] Add arrow::Result version of parquet::arrow::FileReader::ReadTable() | ### Rationale for this change
`FileReader::ReadTable` previously returned `Status` and required callers to pass an `out` parameter.
### What changes are included in this PR?
Introduce `Result<std::shared_ptr<Table>>` returning API to allow clearer error propagation:
- Add new Result-returning `ReadTable()` method... | diff --git a/cpp/examples/arrow/parquet_read_write.cc b/cpp/examples/arrow/parquet_read_write.cc
index 7db13f360aea..372221085c9b 100644
--- a/cpp/examples/arrow/parquet_read_write.cc
+++ b/cpp/examples/arrow/parquet_read_write.cc
@@ -37,8 +37,7 @@ arrow::Status ReadFullFile(std::string path_to_file) {
ARROW_ASSIGN_... | 6 | 6 | 0 | [{"id": "G0", "claim": "In the parquet_read_write example, keep the table variable and use ARROW_ASSIGN_OR_RAISE(table, arrow_reader->ReadTable()) instead of discarding the Result with ReadTable().status().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
apache__arrow__48943 | apache/arrow | 48,943 | defect | 8e13dbc4d37247e3e9f79adfa852f482f10edec0 | 64f91009f290b5495f5de8475f23db697f610bc7 | GH-48941: [C++] Generate proper UTF-8 strings in JSON test utilities | ### Rationale for this change
The JSON test utility `GenerateAscii` was only generating ASCII characters. Should better have the test coverage for proper UTF-8 and Unicode handling.
### What changes are included in this PR?
Replaced ASCII-only generation with proper UTF-8 string generation that produces valid ... | diff --git a/cpp/src/arrow/json/test_common.h b/cpp/src/arrow/json/test_common.h
index 423a0123c058..dbaaa9f82ce3 100644
--- a/cpp/src/arrow/json/test_common.h
+++ b/cpp/src/arrow/json/test_common.h
@@ -110,20 +110,85 @@ struct GenerateImpl {
return OK(writer.Double(val));
}
- Status GenerateAscii(const Data... | 2 | 2 | 0 | [{"id": "G0", "claim": "GenerateUtf8 can call writer.String(s) directly on the std::string instead of using s.c_str().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A more generic helper like std::string RandomUtf8String(int num_chars) should b... | null |
apache__arrow__48955 | apache/arrow | 48,955 | defect | 9cde706419c8e9cde0647af1fd55f6a86ecdbd2a | 492085dfa0366c21493b4f04c3c040a93976f45b | GH-48954: [C++] Add test for null-type dictionary sorting and clarify XXX comment | ### Rationale for this change
Null-type dictionaries (e.g., `dictionary(int8(), null())`) are valid Arrow constructs supported from day one, but the sorting code had an uncertain `XXX Should this support Type::NA?` comment. We should explicitly support and test this because other functions already support this:
`... | diff --git a/cpp/src/arrow/compute/kernels/vector_array_sort.cc b/cpp/src/arrow/compute/kernels/vector_array_sort.cc
index 950de47733b5..664703d8f7cf 100644
--- a/cpp/src/arrow/compute/kernels/vector_array_sort.cc
+++ b/cpp/src/arrow/compute/kernels/vector_array_sort.cc
@@ -237,7 +237,6 @@ class ArrayCompareSorter<Dict... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new NullTypeDictionaryArray test should also cover the alternative encoding of a null-type dictionary array — null values inside the dictionary (e.g. \"[null, 0, 0, null]\" with dictionary \"[null]\") — rather than only all-null indices with an empty dictionary.", "category": "testing", "ver... | null |
apache__arrow__48975 | apache/arrow | 48,975 | defect | 75ef03165dc7e54aca0f842f54598833ddbd0a01 | 1d06e0b61de30059bd895c20fb63926226034aa2 | GH-48846: [C++] Read message metadata and body in one go in IPC file reader | ### Rationale for this change
ReadMessageAsync takes a body_length parameter and reads Message metadata + body in one go, but the blocking version ReadMessage reads the body length from the Message and issues a second read for the body. This PR adds a ReadMessage overload that takes the body length as parameter and... | diff --git a/cpp/src/arrow/ipc/message.cc b/cpp/src/arrow/ipc/message.cc
index 8be09956f102..a69c246a6b45 100644
--- a/cpp/src/arrow/ipc/message.cc
+++ b/cpp/src/arrow/ipc/message.cc
@@ -421,6 +421,57 @@ Result<std::unique_ptr<Message>> ReadMessage(int64_t offset, int32_t metadata_le
}
}
+Result<std::unique_ptr<M... | 5 | 5 | 0 | [{"id": "G0", "claim": "The new doc comment says \"RPC\" where it should say \"IPC\", and all occurrences in cpp/src/arrow/ipc/message.h should be fixed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should keep a less strict assertion s... | null |
apache__arrow__49032 | apache/arrow | 49,032 | defect | 5272a68c134deea82040f2f29bb6257ad7b52be0 | e3e53c0c2294024f6398d1e96976b97de38b6b0d | GH-49024: [CI] Update Debian version in `.env` | ### Rationale for this change
Default Debian version in `.env` now maps to oldstable, we should use stable instead.
Also prune entries that are not used anymore.
### Are these changes tested?
By existing CI jobs.
### Are there any user-facing changes?
No.
* GitHub Issue: #49024 | diff --git a/.env b/.env
index dad867f8f66e..00d8ac29fa50 100644
--- a/.env
+++ b/.env
@@ -52,7 +52,7 @@ ULIMIT_CORE=-1
# Default versions for platforms
ALMALINUX=8
ALPINE_LINUX=3.22
-DEBIAN=12
+DEBIAN=13
FEDORA=42
UBUNTU=22.04
@@ -61,11 +61,9 @@ CLANG_TOOLS=18
CMAKE=3.26.0
CUDA=11.7.1
DASK=latest
-DOTNET=8.0... | 4 | 4 | 2 | [{"id": "G0", "claim": "The Python task builds for Debian 12 (oldstable) that the pull request kept in dev/tasks/tasks.yml are needless and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CRAN key should keep being scoped to CRAN's ... | null |
apache__arrow__49082 | apache/arrow | 49,082 | defect | 9106671b36284b77ab44683df9cccc1843374aaf | 7b7dc64f55bd7c372fcf5a00f3d26d82c98bba25 | GH-49081: [C++][Parquet] Correct variant's extension name | ### Rationale for this change
Correct variant extension according to arrow's specification.
### What changes are included in this PR?
Modified variant's hardcoded extension name.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* GitHub Issue: #49081 | diff --git a/cpp/src/parquet/arrow/schema.cc b/cpp/src/parquet/arrow/schema.cc
index 266215a8104e..37fa56656ae2 100644
--- a/cpp/src/parquet/arrow/schema.cc
+++ b/cpp/src/parquet/arrow/schema.cc
@@ -485,7 +485,7 @@ Status FieldToNode(const std::string& name, const std::shared_ptr<Field>& field,
ARROW_ASSIGN_OR... | 2 | 1 | 0 | [{"id": "G0", "claim": "Add a kVariantExtensionName constant for the variant extension name in parquet_variant.h instead of hardcoding the string.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Move variant_internal.h/.cc to cpp/src/arrow/extens... | null |
apache__arrow__49095 | apache/arrow | 49,095 | defect | 384ea25e7a4583da170dfb65d29702a6c8ad14f4 | 9166e2118c3b63a29d725fca55d66d8e61919e23 | GH-49003: [C++] Don't consider `out_of_range` an error in float parsing | ### Rationale for this change
This PR restores the behavior previous to version 23 for floating-point parsing on overflow and subnormal.
`fast_float` didn't assign an error code on overflow in version `3.10.1` and assigned `±Inf` on overflow and `0.0` on subnormal. With the update to version `8.1`, it started to as... | diff --git a/cpp/src/arrow/util/value_parsing.cc b/cpp/src/arrow/util/value_parsing.cc
index 1a8e8066d703..17ab93dbb128 100644
--- a/cpp/src/arrow/util/value_parsing.cc
+++ b/cpp/src/arrow/util/value_parsing.cc
@@ -35,7 +35,8 @@ bool StringToFloat(const char* s, size_t length, char decimal_point, float* out)
::a... | 2 | 2 | 1 | [{"id": "G0", "claim": "The combined return condition in StringToFloat should be broken up, e.g. by storing the error-code check in a named variable, for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should also ad... | null |
apache__arrow__49105 | apache/arrow | 49,105 | defect | 222fac73a0425e6c273ba8e0b5a427091ee56245 | 900b98d43cc8d5978bc4aabde2baf13d8c332ec5 | GH-49104: [C++] Fix Segfault in SparseCSFIndex::Equals with mismatched dimensions | ### Rationale for This Change
The `SparseCSFIndex::Equals` method can crash when comparing two sparse indices that have a different number of dimensions. The method iterates over the `indices()` and `indptr()` vectors of the current object and accesses the corresponding elements in the `other` object without first v... | diff --git a/cpp/src/arrow/sparse_tensor.cc b/cpp/src/arrow/sparse_tensor.cc
index b84070b3d288..acb531435b0d 100644
--- a/cpp/src/arrow/sparse_tensor.cc
+++ b/cpp/src/arrow/sparse_tensor.cc
@@ -405,11 +405,25 @@ SparseCSFIndex::SparseCSFIndex(const std::vector<std::shared_ptr<Tensor>>& indpt
std::string SparseCSFInde... | 6 | 6 | 1 | [{"id": "G0", "claim": "The pull request's fix for the SparseCSFIndex::Equals segfault with mismatched dimensions has no test covering that case, so a test for it should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request fails the... | null |
apache__arrow__49160 | apache/arrow | 49,160 | defect | 654fb284f9b2c08f23cff857ba23b5b85e8c064d | 21e8bcdcb531b247e1880f1a7b195b2ae430140a | GH-49159: [C++][Gandiva] Detect overflow in repeat() | ### Rationale for this change
`repeat()` can only generate `< 2147483647` size output. So output larger than `2147483647` must be rejected.
### What changes are included in this PR?
Add overflow check in `repeat()`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes.
* Gi... | diff --git a/cpp/src/gandiva/precompiled/string_ops.cc b/cpp/src/gandiva/precompiled/string_ops.cc
index 7450018a556f..07acee90991f 100644
--- a/cpp/src/gandiva/precompiled/string_ops.cc
+++ b/cpp/src/gandiva/precompiled/string_ops.cc
@@ -841,7 +841,12 @@ const char* repeat_utf8_int32(gdv_int64 context, const char* in,... | 2 | 2 | 0 | [{"id": "G0", "claim": "The overflow error message \"Too large output size\" is a bit confusing; the reviewer suggests clearer wording such as \"Repeats would overflow maximum output size\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new t... | null |
apache__arrow__49218 | apache/arrow | 49,218 | defect | 8b837844064e1a2eaad09fa739a2d4eaa257a8d0 | 580eda6ae53d121264e0b3c75ba82602980f144e | GH-49217: [C++][Parquet] Fix map type to preserve key-value metadata | ### Rationale for this change
Previously, when converting Parquet schemas back to Arrow schemas with serialized ARROW:schema metadata, the key-value metadata on map nested fields (key/value fields) was lost. The GetNestedFactory() function lacked a MAP case, preventing ApplyOriginalStorageMetadata from recursively r... | diff --git a/cpp/src/parquet/arrow/arrow_schema_test.cc b/cpp/src/parquet/arrow/arrow_schema_test.cc
index f930d3d7bdf7..8e9a60499771 100644
--- a/cpp/src/parquet/arrow/arrow_schema_test.cc
+++ b/cpp/src/parquet/arrow/arrow_schema_test.cc
@@ -40,6 +40,7 @@
#include "arrow/testing/gtest_util.h"
#include "arrow/type.h"... | 3 | 1 | 0 | [{"id": "G0", "claim": "mapleFU asks whether keys_sorted is always false according to MapToSchemaField, questioning whether the new MAP case's keys_sorted preservation can ever take effect.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "pitrou asks ... | null |
apache__arrow__49304 | apache/arrow | 49,304 | defect | 75ef03165dc7e54aca0f842f54598833ddbd0a01 | 419fee3ca709228eafbb7230c0f57e0ad5938da9 | GH-45193: [C++][Compute] Treat NaNs and nulls as distinct values in rank tie-breaking | ### Rationale for this change
The rank kernel incorrectly treated NaNs and Nulls as ties. This fix ensures they are treated as distinct values according to Arrow's sorting conventions.
### What changes are included in this PR?
Updated the internal MarkDuplicates helper in vector_rank.cc to distinguish between NaNs... | diff --git a/cpp/src/arrow/compute/kernels/vector_rank.cc b/cpp/src/arrow/compute/kernels/vector_rank.cc
index ef7419ea7c54..98f305d30719 100644
--- a/cpp/src/arrow/compute/kernels/vector_rank.cc
+++ b/cpp/src/arrow/compute/kernels/vector_rank.cc
@@ -38,8 +38,9 @@ namespace {
// is the same as the value at the previou... | 4 | 4 | 1 | [{"id": "G0", "claim": "Instead of specializing MarkDuplicates on ArrowType, the PR should pass an is_null_selector that always returns true for types without NaNs.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new NaNsAndNulls rank test should also... | null |
apache__arrow__49374 | apache/arrow | 49,374 | defect | 2fcc3ec9f04cfe73facef5155e831dac19ead853 | 539172916e4c85f2381e4098c0164a84e881c2ed | GH-49329: [C++][Parquet][CI] Add fuzz target for encoder/decoder roundtrip | ### Rationale for this change
Add a fuzz target that does a 3-way encoding roundtrip:
1. decodes its payload using a source encoding
2. re-encodes the values using a roundtrip encoding
3. re-decodes using the same roundtrip encoding, and checks that the values read are identical
The motivation is to ensure tha... | diff --git a/ci/docker/ubuntu-22.04-cpp.dockerfile b/ci/docker/ubuntu-22.04-cpp.dockerfile
index 88a27efe335d..183bed4c6c8f 100644
--- a/ci/docker/ubuntu-22.04-cpp.dockerfile
+++ b/ci/docker/ubuntu-22.04-cpp.dockerfile
@@ -120,6 +120,7 @@ RUN apt-get update -y -q && \
rsync \
tzdata \
uuid-ru... | 7 | 5 | 3 | [{"id": "G0", "claim": "The parquet seed-corpus fuzz runs added to ci/scripts/cpp_test.sh should be behind a \"${ARROW_PARQUET}\" == \"ON\" check, similar to the checks used elsewhere in the script.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Com... | null |
apache__arrow__49439 | apache/arrow | 49,439 | defect | c48e81e4d05cf0463b37ab91df53cb1e224c0bd0 | 81c1bde57ce17a1c96b2e7cf012c80eb8103dad0 | GH-49438: [C++][Gandiva] Optimize LPAD/RPAD functions | ### Rationale for this change
The `lpad_utf8_int32_utf8` and `rpad_utf8_int32_utf8` functions have performance inefficiency and a potential memory safety issue:
1. **Performance**: Single-byte fills iterate character-by-character when `memset` would suffice. Multi-byte fills use O(n) iterations instead of O(log n) wi... | diff --git a/cpp/src/gandiva/precompiled/string_ops.cc b/cpp/src/gandiva/precompiled/string_ops.cc
index 0b787f461c21..1662dec7d44f 100644
--- a/cpp/src/gandiva/precompiled/string_ops.cc
+++ b/cpp/src/gandiva/precompiled/string_ops.cc
@@ -1988,48 +1988,60 @@ const char* lpad_utf8_int32_utf8(gdv_int64 context, const cha... | 4 | 4 | 0 | [{"id": "G0", "claim": "The ret declarations in lpad/rpad should use gdv_binary rather than char*, as suggested in the review comment.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The four byte-by-byte EXPECT_EQ assertions checking the trailin... | null |
apache__arrow__49660 | apache/arrow | 49,660 | defect | df88383ba11f42af3d94ecbd7f9b265350da0494 | 4670ec59b18f1083ddaf3ee080221ab18b0f2c2f | GH-49614: [C++] Report an error instead of silent truncation in base64_decode on invalid input | ### Rationale for this change
`arrow::util::base64_decode` previously allowed invalid input to be processed, which could result in silently truncated or incorrect output without signaling an error. This can lead to unintended data corruption.
### What changes are included in this PR?
- Change `base64_decode` t... | diff --git a/cpp/src/arrow/util/string_test.cc b/cpp/src/arrow/util/string_test.cc
index 8988eb9996c0..0d0e58452874 100644
--- a/cpp/src/arrow/util/string_test.cc
+++ b/cpp/src/arrow/util/string_test.cc
@@ -28,6 +28,7 @@
#include "arrow/testing/gtest_util.h"
#include "arrow/util/regex.h"
#include "arrow/util/string.... | 6 | 6 | 3 | [{"id": "G0", "claim": "Returning \"\" for invalid input is indistinguishable from a valid decode of empty input, so the API should fail explicitly via arrow::Result<std::string> (instead of logging with ARROW_LOG) and Gandiva should propagate that as an error.", "category": "design", "verdict": "supported", "priority"... | null |
apache__arrow__49663 | apache/arrow | 49,663 | defect | 008e082cbc08052c9215660a918c748b359281e5 | 3566c7ee5ccfab33434ce239fe15b3fef549ebf7 | GH-49433: [C++] Buffer ARROW_LOG output to prevent thread interleaving | ### Rationale for this change
When using the C++ `ARROW_LOG` macros from multiple threads, messages often get mingled together in `stderr` because the `operator<<` writes directly to the global stream piece-by-piece, which is not thread-safe.
### What changes are included in this PR?
This PR introduces an inte... | diff --git a/cpp/src/arrow/util/logging.cc b/cpp/src/arrow/util/logging.cc
index 993c5306ca4a..15e3369dcdeb 100644
--- a/cpp/src/arrow/util/logging.cc
+++ b/cpp/src/arrow/util/logging.cc
@@ -24,6 +24,7 @@
#endif
#include <cstdlib>
#include <iostream>
+#include <sstream>
#ifdef ARROW_USE_GLOG
@@ -67,7 +68,7 @@ c... | 2 | 2 | 2 | [{"id": "G0", "claim": "Buffering alone may not be sufficient to prevent the final write and std::endl flush from interleaving across threads, so check whether a mutex is also required and add a multi-threaded test to logging_test.cc to visually confirm.", "category": "correctness", "verdict": "supported", "priority": ... | null |
apache__arrow__49848 | apache/arrow | 49,848 | defect | 5633a18f996eaf39fb6283cb0ec4eaf7956fee7c | b9e12ac6bf502afcc3eb7530b268efdcf4bb6627 | GH-45819: [C++] Add OptionalBitmapAnd utility | ### Rationale for this change
In Arrow, null bitmaps are optional and represented by `nullptr` when a column contains no nulls. Previously, conjoining two optional bitmaps required downstream code to manually handle the `nullptr` checks and memory allocations. This change centralizes that logic into a single, highly... | diff --git a/cpp/src/arrow/util/bitmap_ops.cc b/cpp/src/arrow/util/bitmap_ops.cc
index cc24146ae94e..d93a7545a965 100644
--- a/cpp/src/arrow/util/bitmap_ops.cc
+++ b/cpp/src/arrow/util/bitmap_ops.cc
@@ -329,6 +329,25 @@ bool OptionalBitmapEquals(const std::shared_ptr<Buffer>& left, int64_t left_offs
... | 5 | 5 | 1 | [{"id": "G0", "claim": "When one input is null and its bit offset differs from out_offset by a whole number of bytes, OptionalBitmapAnd can return a simple slice of the input instead of copying the bitmap.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
apache__arrow__49879 | apache/arrow | 49,879 | defect | cc15bf1e839ea31f018a82a325eca906b32c86fe | 790459a8078eec3f9871b79005e42d35344b89c0 | GH-19667: [C++][Gandiva] Use arrow::Result<std::string> for RegexUtil::SqlLikePatternToPcre | ### Rationale for this change
Replace the `Status` + out-parameter pattern in `RegexUtil::SqlLikePatternToPcre` with `arrow::Result<std::string>`, aligning with modern Arrow API practices.
### What changes are included in this PR?
* Updated `RegexUtil::SqlLikePatternToPcre` to return `arrow::Result<std::string... | diff --git a/cpp/src/gandiva/regex_functions_holder.cc b/cpp/src/gandiva/regex_functions_holder.cc
index 1c9e44d61b23..6f3fa5b49b33 100644
--- a/cpp/src/gandiva/regex_functions_holder.cc
+++ b/cpp/src/gandiva/regex_functions_holder.cc
@@ -129,7 +129,7 @@ Result<std::shared_ptr<LikeHolder>> LikeHolder::Make(const Functi... | 4 | 4 | 2 | [{"id": "G0", "claim": "The new pointer out-parameter should be declared const (std::string* const pcre_pattern).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A null check should be added for pcre_pattern now that it is possible to pass a null... | null |
apache__arrow__49897 | apache/arrow | 49,897 | defect | b3dcb6d63b4ea698e6a8fcc00f3fd73d3e25071b | 5ced4d57cad7c5e2a6929fcfda8165e4062e004e | GH-49896: [C++] Reject short buffer reads in IPC reader | ### Rationale for this change
IO methods like `ReadAt` can return less bytes than asked for if the file is too short, but the IPC reader doesn't always detect for this situation. On invalid IPC files, this can produce issues down the road such as half-initialized buffers and large processing times (with a potential ... | diff --git a/cpp/src/arrow/dataset/file_parquet_test.cc b/cpp/src/arrow/dataset/file_parquet_test.cc
index 696bda193597..0d86f5eaa0d3 100644
--- a/cpp/src/arrow/dataset/file_parquet_test.cc
+++ b/cpp/src/arrow/dataset/file_parquet_test.cc
@@ -148,7 +148,7 @@ class DelayedBufferReader : public ::arrow::io::BufferReader ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The legacy `ReadAt` and `ReadAsync` overloads that read at most `nbytes` without taking `allow_short_read` should be deprecated (and eventually removed) in a later PR, since defaulting to short reads is unsafe in C++.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pr... | null |
apache__avro__1637 | apache/avro | 1,637 | defect | d44ed5ae2fbb6b2b8d21d4a2ada218f35d59a38a | 11911835df9037d5edd48e4d3aa350bebf8b1b0b | AVRO-3486: Set namespace with protocol fullName | When parsing or creating a protocol, use both the name and namespace
given to determine the actual name, namespace and fullName.
Reason: the spec says "The name and namespace qualification rules
defined for schema objects apply to protocols as well."
Make sure you have checked _all_ steps below.
### Jira
... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
index 914beb8e829..f6e519ea870 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
@@ -17,30 +17,29 @@... | 3 | 2 | 0 | [{"id": "G0", "claim": "When a protocol name is qualified (e.g. \"lang.String\") while a namespace is declared (e.g. \"java\"), the PR derives the namespace from the name and discards the declared one; the reviewer suggests combining the two namespaces and questions whether nested types inheriting the name-derived name... | null |
apache__avro__1719 | apache/avro | 1,719 | defect | a8ee8778dfdccbc9bf5c8423d0d7dbdf1c2c0cbf | 122a32e6d3c690718148079dca75c10b30725055 | AVRO-3531:datum reader thread safe | Make sure you have checked _all_ steps below.
### Jira
- [x] My PR addresses the following [Avro Jira 3531](https://issues.apache.org/jira/browse/AVRO-3531) issues
### Tests
- [x] My PR adds the following unit tests: TestGenericDatumReader
| diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java
index 5b1bb31effe2..f005e6e47820 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java
+++ b/lang/java/avro/src/mai... | 4 | 3 | 1 | [{"id": "G0", "claim": "A ConcurrentHashMap with computeIfAbsent could solve the thread-safety problem for stringClassCache instead of the IdentityHashMap-based cache, unless there is a performance reason to keep identity hashing.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"},... | null |
apache__avro__1748 | apache/avro | 1,748 | defect | dd1d7ae0758596b6b4183a87eb3b94f1e7f298c2 | 6db4d344be2e4461039203adbb996e32f9fcf221 | AVRO-3560: throw SchemaParseException on dangling content in avsc beyond end of schema | Make sure you have checked _all_ steps below.
### Jira
- [x] My PR addresses the following [Avro Jira](https://issues.apache.org/jira/browse/AVRO/) issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"
- https://issues.apache.org/jira/browse/AVRO-3560
### Tests
- [x] My PR adds... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Schema.java b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
index f6c3de7684ec..6ab05bba7aed 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Schema.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
@@ -26,11 +26,13 @@
impo... | 8 | 4 | 3 | [{"id": "G0", "claim": "The stricter dangling-content check should not apply to parse(InputStream in), where the caller might expect to be able to read content after the schema.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add tests for trailing conten... | null |
apache__avro__1768 | apache/avro | 1,768 | defect | d5621e9f8da61c02e4339c11b6852ad059dd72b3 | 6d6e89f96d4046b1c2e71eb0e5d5eb478d97715c | AVRO-530: Allow recursive types in protocol | [AVRO-530](https://issues.apache.org/jira/browse/AVRO-530) : Types in protocol can be defined each other
| diff --git a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
index ff9968895176..f64a7ae0454f 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java
@@ -452,7 +452,9 ... | 4 | 1 | 0 | [{"id": "G0", "claim": "The null check on fieldSchema in the default-value handling condition is useless because fieldSchema cannot be null there, since it is guarded by an earlier check.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Variable '... | null |
apache__avro__1843 | apache/avro | 1,843 | defect | 3e33348d2da6e794ca7ff80bafe39b5788e0a956 | d8047bb33febf11340a95abd34bfcfc945110be7 | AVRO-3622: Fix compatibility check for schemas having or missing namespace | Python implementation does not treat the name and namespace element as Java library.
This causes the compatibility check to fail as the name which can be fully qualified
is not splitted to name and namespace elements.
### Jira
https://issues.apache.org/jira/browse/AVRO-3622
### Tests
- [X] My PR adds the fo... | diff --git a/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java b/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java
index 5f7b62842bc..b3515551ad9 100644
--- a/lang/java/avro/src/test/java/org/apache/avro/TestSchemaCompatibility.java
+++ b/lang/java/avro/src/test/java/org/... | 3 | 1 | 1 | [{"id": "G0", "claim": "Unit tests should be added for the new Name.name property, with inputs like \"Record\", \"ns.Record\", \"longer.ns.Record\" and \".Record\".", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "It is questionable whether WITHOUT_NAMESP... | null |
apache__avro__1858 | apache/avro | 1,858 | defect | 7c17fd534b477236a9a1b635a5375c99ce811e94 | 0e320f8b8a954e0b72a943351039e6f90b790996 | AVRO-2831: add unit test on Avro | ## What is the purpose of the change
This PR add unit test on Resolver class to ensure that issue described in [AVRO-2831](https://issues.apache.org/jira/browse/AVRO-2831) found in 1.8.2 does not occurs on master (1.11.1).
The issue is about Logical Type that are ignore by resolver (in 1.8.2)
## Verifying this ... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Resolver.java b/lang/java/avro/src/main/java/org/apache/avro/Resolver.java
index 9db847c2c75..117c9e3911f 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Resolver.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Resolver.java
@@ -286,16 +286,10 ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add the Apache license header to the new TestResolver.java file before merging, as test coverage can be merged once that is done.", "category": "compliance", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__avro__2053 | apache/avro | 2,053 | defect | d87a99d532719ba6f619ba68e07dbaa77fe4f84e | 1b69bfb53f785d5c1f532217c363559d6f5c0fa6 | AVRO-3704: name validator interface | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Schema.java b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
index f6c3de7684ec..3385e66a3031 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Schema.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
@@ -896,8 +896,8 @@ publi... | 5 | 1 | 0 | [{"id": "G0", "claim": "The new SchemaNameValidatorTest class is not referenced within the codebase and should be removed if it is not used as an external API.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Double.parseDouble on a textual defaul... | null |
apache__avro__2142 | apache/avro | 2,142 | defect | b8b83b72f7184cf1b388fc20331d11eabbd93e06 | b4b8593b8655723ca2c9afa0113987c4bef14702 | AVRO-3641: Adds support for nullSafeAnnotations to java SpecificCompiler | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/compiler/pom.xml b/lang/java/compiler/pom.xml
index 53719816387..c74960b12f6 100644
--- a/lang/java/compiler/pom.xml
+++ b/lang/java/compiler/pom.xml
@@ -232,6 +232,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
+ ... | 5 | 4 | 4 | [{"id": "G0", "claim": "The generated test file ends with several unneeded blank lines that could be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The null-safe annotation classes should be made configurable by preparing the template w... | null |
apache__avro__2203 | apache/avro | 2,203 | defect | 0b5859adcec102b1647d25298b609cefde29e433 | 2d7f922bb44bdf02154bc040d55cc0b2c8af9633 | AVRO-3748 [java] fix SeekableInputStream.skip | The implementation of SeekableInputStream.skip had a longstantind issue that it did a seek to a wrong position.
This issue is rather difficult to hit in avro as it is only used in corner cases of for example the FastReader.
## What is the purpose of the change
* Fixes AVRO-3748 a longstanding issue in SeekableIn... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java b/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java
index 10067cd6c5c5..1a28c1d26402 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java
+++ b/lang/java/avro/src/main/java/org/apache/avr... | 3 | 3 | 2 | [{"id": "G0", "claim": "In DataFileReader.skip, restructure the returns: either return skip in the first branch and length - position in the else, or put the single `return in.tell() - position;` at the end of the function instead of duplicating it in both branches.", "category": "maintainability", "verdict": "supporte... | null |
apache__avro__2364 | apache/avro | 2,364 | defect | 1d1742b45ceaf73e09b82a9c6f1ab080f20d8808 | 152f576b5a01ce2aebf67f98dd590616fec951b6 | AVRO-2236: [java] default value for record type | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Schema.java b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
index 97513f52f12..765cf7495ad 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Schema.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Schema.java
@@ -1678,7 +1678,7 @@ priva... | 3 | 3 | 0 | [{"id": "G0", "claim": "In getDeserializer's IOException handler, the byte array `bytes` is implicitly converted to a String when passed as a %s format argument, which the scanner flags (CodeQL: implicit conversion from array to String).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "i... | null |
apache__avro__2368 | apache/avro | 2,368 | defect | 5e6cec1eae4a6b091a5ed3125196fe23a5b33528 | 3e01712ac2a9ea82e6e7d115b65bdca97e753782 | AVRO-2282: [Java] JsonEncoder with option to not flush output for optimization purpose. | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/EncoderFactory.java b/lang/java/avro/src/main/java/org/apache/avro/io/EncoderFactory.java
index 0188a29637d..055ef9541d9 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/io/EncoderFactory.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/io/Enc... | 1 | 1 | 0 | [{"id": "G0", "claim": "Invoking the deprecated Schema.parse in the new test testJsonEncoderInitAutoFlush should be avoided.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__avro__2389 | apache/avro | 2,389 | defect | 175b7e5c2db141a25e2b177ff1ec343b41f1b698 | 5148c9d80dc8ab0be5aae2a5590db97eb8541049 | AVRO-2307: [java] list of primitive | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
index 2f2a103eb07..3a7505a04aa 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/... | 3 | 1 | 0 | [{"id": "G0", "claim": "CodeQL flagged more than 10 potential problems in the proposed changes, which should be addressed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change broke Avro deserialization of arrays of items using logical types: r... | null |
apache__avro__2420 | apache/avro | 2,420 | defect | d05ca14e7de4281f5db464546dbc89537db1bcb1 | 601f1f6bdf117eda810bcab9c77b0b2cb08b984a | AVRO-3791: [Java] Include field in readField AvroTypeException | ## What is the purpose of the change
This pull request improves java error messages by including field in readField AvroTypeException fixing AVRO-3791
In order to bring more clarity and save users time error messages include the field avro fails to read. It is now immediately apparent which field in a record has ... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java
index 3c5d1316cb30..07c2467f9fcc 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java
+++ b/lang/java/avro/src/mai... | 2 | 2 | 1 | [{"id": "G0", "claim": "Throwing a new AvroTypeException without a cause loses the original stack trace; use a constructor with a cause parameter, e.g. throw new AvroTypeException(message, exception) or, to avoid nesting two AvroTypeExceptions, throw new AvroTypeException(message, exception.getCause()).", "category": "... | null |
apache__avro__2520 | apache/avro | 2,520 | defect | 73752a404c63fdfc0b132d1be891f80d66b4dca8 | 9d78480de00bdd7b8cdaced0a03c86efa9345502 | AVRO-2123: Java duration logical type | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/Conversions.java b/lang/java/avro/src/main/java/org/apache/avro/Conversions.java
index 7d01fc62a37..1a1754226b4 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/Conversions.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/Conversions.java
@@ -18,... | 2 | 1 | 1 | [{"id": "G0", "claim": "Part of the sentence in this Javadoc paragraph on TimePeriod.java appears to be missing.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The duration support added by this pull request is incomplete; see AVRO-4159 for detail... | null |
apache__avro__2521 | apache/avro | 2,521 | defect | bfc19adae5a55e119dc5ff3c1d9f8455e11557f3 | cb392cccdc3288378d7b22969277e7089d844d00 | AVRO-3871: Add blocking direct binary encoder | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/BinaryEncoder.java b/lang/java/avro/src/main/java/org/apache/avro/io/BinaryEncoder.java
index 22d0326165c..aacb83b88f4 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/io/BinaryEncoder.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/io/Binary... | 4 | 3 | 2 | [{"id": "G0", "claim": "The shared buffer should be a simple per-instance field member instead of a static ThreadLocal, because the ThreadLocal is shared by every encoder created on a thread and breaks when two encoders on one thread write data alternately.", "category": "correctness", "verdict": "supported", "priority... | null |
apache__avro__2529 | apache/avro | 2,529 | defect | 90710b71802168847defb4d1a82e1eab221c04d2 | 277334e435eafcd8673ce8a376a4d2c05619ca69 | Avro 3876 jackson util | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.java b/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.java
index 7e3a67eb6db..46fb6b5cb58 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/io/JsonEncoder.... | 7 | 2 | 0 | [{"id": "G0", "claim": "The outdated '// float converts to double' comments above the floatProp assertions in objectProps and fieldObjectProps — the 'outdated comments' the approval review still flags — should be removed, since floats are no longer converted to double.", "category": "documentation", "verdict": "uncerta... | null |
apache__avro__2608 | apache/avro | 2,608 | defect | 5ac620f5eb72449fa05a11cb8fe53a1cb65e6357 | 0ae067a760b1b65165d658662a7c1b2cd572080e | AVRO-3914: Add nanos support for the Java SDK | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/LogicalTypes.java b/lang/java/avro/src/main/java/org/apache/avro/LogicalTypes.java
index dbf1a1fd867..5ccc1c966e1 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/LogicalTypes.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/LogicalTypes.java
@@ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Avro specification documentation on time precision (https://avro.apache.org/docs/1.11.1/specification/#time-millisecond-precision) may need a doc change to cover the nanosecond-precision times this PR adds.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "in... | null |
apache__avro__2984 | apache/avro | 2,984 | defect | 2490231cf5352cad1df02682c99a4cd11242b98c | d55ebfac61c60eb53118da329838543953ef9cae | AVRO-3748: [Java] Fix SeekableInput.skip | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java b/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java
index 8f333a1cb48..ae33df59fbe 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileReader.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/... | 1 | 1 | 1 | [{"id": "G0", "claim": "SeekableByteArrayInput.seek ignores the exceptional return value of ByteArrayInputStream.skip, so a skip that does not reach the requested position would go unnoticed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__avro__3150 | apache/avro | 3,150 | defect | 8979c3795c76b5774b69574037c06f37e9bf3ca2 | b41f1eba8d55c986ca3d6520f994f659b6a1c219 | AVRO-4053: doc consistency in velocity templates | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java b/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java
index 53675f4a01b..8f2bcf82253 100644
--- a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler... | 4 | 3 | 2 | [{"id": "G0", "claim": "The new private method isValidAsAnnotation may be unused, since no usages are visible below its definition.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the public method javaEscape to escapeForJavaString is an A... | null |
apache__avro__3175 | apache/avro | 3,175 | defect | 34ce19230be51b63194f3bda09712d0a30f6859a | 8d95711e0e5355177473390ff4a8029fa877564b | AVRO-4060: Use JDK to Hash Byte Array in UTF8 | ## What is the purpose of the change
* This pull request improves file read performance by using the JDK hashcode implementation, fixing AVRO-4060.*
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Documentation
- Does this pull request introduce a new... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/util/Utf8.java b/lang/java/avro/src/main/java/org/apache/avro/util/Utf8.java
index 22c21c76be5a..b609e166c7d9 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/util/Utf8.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/util/Utf8.java
@@ -68,6 +68,... | 3 | 2 | 1 | [{"id": "G0", "claim": "A unit test should be added to verify that Utf8.hashCode returns the same value for equal byte sequences regardless of whether the array has unused bytes in it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new test's javado... | null |
apache__avro__3197 | apache/avro | 3,197 | defect | 80400781a796bc0e90dd8ea1db42234926db33e9 | ca792ee0f263b9a7a0a1f1edb066ddb027af6763 | AVRO-4073: Create Convenience toBytes Method for Datum Writer | ## What is the purpose of the change
* This pull request improves usability by providing a convenience way to turn a datum into a byte array, fixing AVRO-4073
## Verifying this change
This change added tests. | diff --git a/lang/java/avro/src/main/java/org/apache/avro/data/Json.java b/lang/java/avro/src/main/java/org/apache/avro/data/Json.java
index ca73cc32870a..fe49245a69fd 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/data/Json.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/data/Json.java
@@ -17,6 +17,... | 1 | 1 | 0 | [{"id": "G0", "claim": "The two toByteArray implementations (GenericDatumWriter and Json's writer) are identical, so toByteArray should be made a default method on the DatumWriter interface instead of being implemented separately in each writer.", "category": "design", "verdict": "supported", "priority": "P2", "scope":... | null |
apache__avro__3285 | apache/avro | 3,285 | defect | dd01f97869e374d6427bec999afa089f760791ab | e75f2445c623d61a72275b6ba7fcb9b3cd81eacf | AVRO-2108: [Java] DoubleArray converts double to float on array add | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/PrimitivesArrays.java b/lang/java/avro/src/main/java/org/apache/avro/generic/PrimitivesArrays.java
index d34ce0f5bcb..ea968422d20 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/generic/PrimitivesArrays.java
+++ b/lang/java/avro/src/main/java/o... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a blank line before the new @Test annotation to separate it from the preceding test.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The cast `(double) o` causes boxing, so `o.doubleValue()` should be used instead.", "... | null |
apache__avro__3307 | apache/avro | 3,307 | defect | fb1850ba2793fbe49b5918671e5f4f48e335ff76 | 29e72786ba8166db73e8d46fe6115cfe33318a25 | AVRO-4039 [java] fix GenericData.newArray to only return an appropriate array implementation | ## What is the purpose of the change
- Fix the class cast exceptions noted in the ticket (when using logical types)
- Fix other paths that can return `PrimitiveArray` when it would not be appropriate
- Tightness the constraints for the return value, so if a `GenericContainer` is returned the schema must match the s... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
index 362ebdc9cfc..684ff735169 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Checking the schema of the returned container may cost more than creating a new collection, so the change should be refrained from (the check removed) until the cost is known.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A logic... | null |
apache__avro__3312 | apache/avro | 3,312 | defect | 230414abbb68e63e68f3b55bfc0cbca94f2737f6 | b44538d140f6d1ecbfc61ce6bab5dcc13fd65fe2 | AVRO-4119: [java] Make Nullable and NotNull annotations configurable | ## What is the purpose of the change
This pull request adds the nullSafeAnnotationNullable and nullSafeAnnotationNotNull configuration options to the Java code generator, making it possible to specify the exact annotations to use when createNullSafeAnnotations is enabled.
This allows using nullability annotations... | diff --git a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java b/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java
index cad00e943f2..31a4a495bfd 100644
--- a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler... | 2 | 1 | 0 | [{"id": "G0", "claim": "The output file NullSafeAnnotationsFieldsTest.java appears not to have been removed and should also be removed, since its input .avsc was replaced by two new ones (git records it as a rename to JetBrainsNullSafeAnnotationsFieldsTest.java).", "category": "maintainability", "verdict": "opposed", "... | null |
apache__avro__3354 | apache/avro | 3,354 | defect | 46ea9330b9e533aef0b14ed09e39479e1cf786c0 | 92821e24303a13a216a147b0e02795e83e5ce32c | AVRO-3989: [java] add conversion classes to default instance of SpecificData | ## What is the purpose of the change
This pull request improves deserialization of data when using default `SpecificData` instance.
Why?
Often times, `SpecificDatumReader` and `ReflectDatumReader` are configured using the default `SpecificData` instance. This leads to deserialization error when reading fields wi... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java b/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java
index c7b5eaed8a7..4cb10fef826 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java
+++ b/lang/java/avro/src/main/java/org/apache... | 4 | 2 | 0 | [{"id": "G0", "claim": "The new test should read the schema from the generated class / fooBar.avsc instead of duplicating the schema inline in a string.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The conversion classes should be added to Ref... | null |
apache__avro__3367 | apache/avro | 3,367 | defect | 356efee046234004e77a8719d24b9ca03fa79aea | af8c494891bb0d5511bf0bdaeaa55f0b78f30517 | AVRO-4133: Support default enum value in Protobuf to Avro | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/ProtobufData.java b/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/ProtobufData.java
index ca4d78b6026..e6986d0a624 100644
--- a/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/ProtobufData.java
+++ b/lang/java/protobuf/src/main... | 2 | 2 | 1 | [{"id": "G0", "claim": "The change lacks a test case; add an extra test case to TestProtobuf demonstrating the enum schema conversion, preferably with the proto3 #default documentation link martin-g provided.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
apache__avro__3376 | apache/avro | 3,376 | defect | 80cebcfbae3425ea555ff8ddd17e9102b7f88e55 | 3276b67d3c83a981e44b93ded05969b45eac7ad8 | Remove the default serializable packages and deprecated the property to introduce org.apache.avro.SERIALIZABLE_CLASSES instead | As discussed within the Parquet community, this PR is more "restrictive":
1. no serializable packages by default
2. deprecate `org.apache.avro.SERIALIZABLE_PACKAGES` property
3. instead of `SERIALIZABLE_PACKAGES`, users should use `org.apache.avro.SERIALIZABLE_CLASSES`
This is a much more "strict" security enforc... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificDatumReader.java b/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificDatumReader.java
index 29c8ac66567d..ad2188e6fc42 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/specific/SpecificDatumReader.java
+++ b/lang/java/avro/s... | 5 | 4 | 1 | [{"id": "G0", "claim": "The security check should be performed on the class name before the class is loaded (checkSecurity(name) before ClassUtils.forName), because loading an untrusted class first can still trigger execution of its static initialiser block.", "category": "security", "verdict": "supported", "priority":... | null |
apache__avro__3425 | apache/avro | 3,425 | defect | a16a70046013369b0389de414d2e93cc9efafa2b | 3d944efbd542eb5f2cc06c493371ce55736f81ca | AVRO-4165: [java] ability to specify AvroEncode on a class | This PR adds the ability to use the `CustomEncode` annotation directly on a class.
It required some changes to when this annotation would be scanned. Currently, it is only used on fields.
Getting this to work for the first Record written required additional changes to support the feature.
I added a new map on `R... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/reflect/AvroEncode.java b/lang/java/avro/src/main/java/org/apache/avro/reflect/AvroEncode.java
index 225f247a9ed..b9d7f00a707 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/reflect/AvroEncode.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/ref... | 2 | 2 | 0 | [{"id": "G0", "claim": "The inner class CustomEncodingWrapper in ReflectData should be made static, since the enclosing instance is not used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The AvroEncode annotation should be @Inherited (as reque... | null |
apache__avro__3525 | apache/avro | 3,525 | defect | 6aa10480f5b7945e559333fb94b7aea06905cc20 | e82341d691da0eb641e2e33977da8266f6c0fc75 | AVRO-4189: [java] Simplify the setting of the serializable classes | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/avro/pom.xml b/lang/java/avro/pom.xml
index 34d8758bd6c..3f0f0f10bc0 100644
--- a/lang/java/avro/pom.xml
+++ b/lang/java/avro/pom.xml
@@ -91,7 +91,8 @@
<configuration>
<parallel>none</parallel>
<systemProperties>
- <org.apache.avro.SERIALIZABLE_CLASSES>ja... | 3 | 3 | 1 | [{"id": "G0", "claim": "The deprecated SERIALIZABLE_CLASSES constant is incorrectly initialized with SystemPropertiesPredicate.SERIALIZABLE_PACKAGES instead of SERIALIZABLE_CLASSES, and should be initialized as SystemPropertiesPredicate.SERIALIZABLE_CLASSES.toArray(new String[0]).", "category": "correctness", "verdict"... | null |
apache__avro__3537 | apache/avro | 3,537 | defect | c39d0ac3276c55edc60615784f947293369ce624 | e2f10538ab0472d87cb21799cb7c0e1fbf18f117 | AVRO-4210: Fix BinaryData.compareBytes to treat bytes as unsigned | This is a regression fix introduced in 1.12.1
## What is the purpose of the change
Fix a regression in BinaryData.compareBytes introduced here: https://github.com/apache/avro/pull/3126/files
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Documentat... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/BinaryData.java b/lang/java/avro/src/main/java/org/apache/avro/io/BinaryData.java
index 9ce68e9f4cfc..87e133b4cc91 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/io/BinaryData.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/io/BinaryData.ja... | 3 | 3 | 1 | [{"id": "G0", "claim": "The javadoc line should read 'if less than, return a negative value' with a comma added, per the bot's suggestion block.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "Add tests covering the changed unsigned comparison be... | null |
apache__avro__3693 | apache/avro | 3,693 | defect | 4e376735ebbd14cc17e53116183039c8c4ced8ab | 87bec1bae3ecf753c72516287f7078ef43315d29 | AVRO-4189: [Java] Use ClassUtils.forName() in FastReaderBuilder for consistency | I noticed that FastReaderBuilder.findClass() was using data.getClassLoader().loadClass() directly, bypassing ClassUtils.forName() which is used everywhere else in the codebase. This change aligns FastReaderBuilder with the standard class loading path and adds tests for class loading behavior.
<!--
*Thank you very... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/io/FastReaderBuilder.java b/lang/java/avro/src/main/java/org/apache/avro/io/FastReaderBuilder.java
index dbd06f305e8b..e5d54a8ed44e 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/io/FastReaderBuilder.java
+++ b/lang/java/avro/src/main/java/org/apache/... | 1 | 1 | 1 | [{"id": "G0", "claim": "Asks whether it is good practice to swallow the SecurityException in findClass()'s catch block, since hiding it makes it hard to analyze why class loading is not working while the exception carries a comprehensive explanation.", "category": "correctness", "verdict": "supported", "priority": "P1"... | null |
apache__avro__3745 | apache/avro | 3,745 | defect | fed00117056cdc3dad424cf8442c2d38775e4658 | 87b7126221be5d1b9cc50d909f1d130edf58bcac | AVRO-4247: Enforce decompression size limits |
## What is the purpose of the change
#3625 with size limit checks moved into the NonCopyingByteArrayOutputStream
* guarantees all decompressors get the coverage
* will make writing a test trivial
There's a new constructor to `NonCopyingByteArrayOutputStream` to set a size limit, or no limit, and the default... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileWriter.java b/lang/java/avro/src/main/java/org/apache/avro/file/DataFileWriter.java
index 466fa28135c..6518f50329b 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/file/DataFileWriter.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/... | 6 | 5 | 2 | [{"id": "G0", "claim": "The decompression limit system property and its parsing should move into SystemLimitException, where the int equivalent lives.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Applying the decompression limit by default cha... | null |
apache__avro__3756 | apache/avro | 3,756 | defect | 2cd8431ca3ae95849a05b4105f8bcc9fe5d4b4e1 | c81909763e8978eef3df147ac6e825fa668b8495 | AVRO-4182: Avoid ANTLR parsing edge cases | <!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please un... | diff --git a/lang/java/idl/src/main/java/org/apache/avro/idl/IdlReader.java b/lang/java/idl/src/main/java/org/apache/avro/idl/IdlReader.java
index f6d1fb49dcb..d31e810d8f3 100644
--- a/lang/java/idl/src/main/java/org/apache/avro/idl/IdlReader.java
+++ b/lang/java/idl/src/main/java/org/apache/avro/idl/IdlReader.java
@@ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the commented-out `parser.addParseListener(parseListener);` line instead of leaving it disabled in IdlReader.parse.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__avro__3765 | apache/avro | 3,765 | defect | 892d6997dcb65627560b04bd76c5a3dd97666cdf | 0c15e88107865c936be0f2da0b87a8663938043a | AVRO-4209: [java] Reflect correctly on recursive schemas | ## What is the purpose of the change
When reflecting on a class with a recursive reference, make sure that the schemas are parsed and emitted in the correct order.
Currently after #3304, schemas are defined to be emitted when they are completely resolved (i.e. a RECORD schema is put into the context after all its... | diff --git a/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java b/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java
index 1810b27e06a..56524a8cd80 100644
--- a/lang/java/avro/src/main/java/org/apache/avro/reflect/ReflectData.java
+++ b/lang/java/avro/src/main/java/org/apache/avro/... | 1 | 1 | 1 | [{"id": "G0", "claim": "Class TreeNode overrides equals but not hashCode; add a hashCode override (e.g. returning Objects.hash(value, left, right)) for consistency.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
apache__beam__30769 | apache/beam | 30,769 | defect | 488d2a1c30d91e73e16ac341707b1e7c1b651ff4 | e584d5ecd1df47276e74e28eeaf8b33365d56fde | Implement LockFreeHistogram and use it for PerWorkerHistograms | Implement `LockFreeHistogram` and use it in Dataflow's PerWorkerMetrics.
Currently, we record histogram metrics in `HistogramData`; however, this class locks the histogram on each metric update/extraction. I assume this is done for historic reasons since `HistogramData` also supports computing arbitrary percentiles ... | diff --git a/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/LockFreeHistogram.java b/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/LockFreeHistogram.java
new file mode 100644
index 000000000000..736208065ec0
--- /dev/null... | 7 | 6 | 1 | [{"id": "G0", "claim": "Add a test that exercises a LockFreeHistogram instance being updated by multiple threads.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "LockFreeHistogram should be declared as a final class.", "category": "design", "verdict": "s... | null |
apache__beam__31608 | apache/beam | 31,608 | defect | c02a5e6d8a07119600caad5a9fcfb766546eb8c6 | 7306870eb487a7499f916e4b0387b956ba59a034 | Support writing to Pubsub with ordering key; Add PubsubMessage SchemaCoder | Fixes #21162
I wasn't able to use the existing `PubsubMessageWithAttributesAndMessageIdCoder` because it doesn't encode/decode the message's topic, which is needed for dynamic destinations. There are already a number of existing coders (6) developed over the years. Every time a new feature/parameter is added to Pubs... | diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java
index 01848d92d928..66a1c912cda4 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/... | 10 | 9 | 4 | [{"id": "G0", "claim": "The PR does not work with DataflowRunner without --experiments=enable_custom_pubsub_sink, and PubsubUnboundedSink's batching does not group on the ordering key, so messages with different ordering keys can end up in one publish batch and be rejected by Pub/Sub; the PR must incorporate changes to... | null |
apache__beam__32067 | apache/beam | 32,067 | defect | 21009e68eabc9d8e05c5cfadaf5016fa23646fb7 | 0b53afdb1887d840b61a9c33b5915375c9a981f1 | Adds an ORDERED_LIST_STATE capability to the Java SDK. | Adds an ORDERED_LIST_STATE capability to the Java SDK.
This will allow the Dataflow runner (and others) to filter out any older SDK's that don't have this capability to have them not run on runner v2.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your co... | diff --git a/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto b/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto
index 422c2e1a5f7c..10434e514eae 100644
--- a/model/pipeline/src/main/proto/org/apache/beam/model/pipeline/v1/beam_runner_api.proto
+... | 2 | 1 | 0 | [{"id": "G0", "claim": "Adding ORDERED_LIST_STATE to the Java capabilities list should be the last thing done, only after everything else has been verified to work end-to-end.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "CHANGES.md should be modified i... | null |
apache__beam__34560 | apache/beam | 34,560 | defect | ccba2e3a90fb5fc746f1f8752f9e614ebec357bc | b1f3b3df2227708993f9e183daf147b220d166dc | Spark Runner : Support for Streaming side-inputs for Spark Runner | **Please** add a meaningful description for your change here
fixes #18136
This PR implements streaming side-inputs support in the Spark runner.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the ... | diff --git a/.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Spark.json b/.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Spark.json
index a9e688973762..64f9b2e34efa 100644
--- a/.github/trigger_files/beam_PostCommit_Java_ValidatesRunner_Spark.json
+++ b/.github/trigger_files/beam_PostCommit_Java_... | 4 | 4 | 1 | [{"id": "G0", "claim": "The streaming tests added by this PR are flaky (GenerateSequence output is inconsistent depending on the Test Spark Runner runtime environment), and testStreamingSideInputAsSingletonView should be fixed/removed and replaced with ViewTest.testWindowedSideInputNotPresent.", "category": "testing", ... | null |
apache__beam__34678 | apache/beam | 34,678 | defect | 930d14abc998d7f67b636259657377240b75929a | 21cb23d8ae9856838ac3f4a6de32f2696d8e8941 | Fix loopback | Fixes #34594
```
./gradlew sdks:java:extensions:python:test --tests org.apache.beam.sdk.extensions.python.PythonExternalTransformTest.testLoopbackEnvironmentWithPythonExternalTransform
```
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution q... | diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/construction/Environments.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/util/construction/Environments.java
index 86b9939604af..d7f91df8fcd8 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/util/construction/Environments.java
+++ ... | 2 | 1 | 0 | [{"id": "G0", "claim": "Leave a code pointer in the createExternalEnvironment comment to where the late binding of the external service address happens.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The usage of the LOOPBACK environment for multi... | null |
apache__beam__34773 | apache/beam | 34,773 | defect | b9fa49a9827dd28349e382f479ebd1a8bbe27d07 | 8f2bf204b5820c7038a3c9a2c310eafb140da31c | [IcebergIO] Fetch source schema directly from the table | Fixes #34766 | diff --git a/.github/trigger_files/IO_Iceberg_Integration_Tests.json b/.github/trigger_files/IO_Iceberg_Integration_Tests.json
index 37dd25bf9029..7ab7bcd9a9c6 100644
--- a/.github/trigger_files/IO_Iceberg_Integration_Tests.json
+++ b/.github/trigger_files/IO_Iceberg_Integration_Tests.json
@@ -1,4 +1,4 @@
{
"comm... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a unit test for the change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The schema conversion may not be light enough for a per-element operation; cache the result of icebergSchemaToBeamSchema.", "category": "performance",... | null |
apache__beam__35141 | apache/beam | 35,141 | defect | 4d2a5a7d0ce57090e438bc6b75cf1aeee14b073b | ca7fc1794017625a02fd659cadb5ff05477727bd | fix jdbc transform validation | fixes #35122
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate issue in your description (for example: `addresses #123`), if applicable. This will automatically add a link to the pull reque... | diff --git a/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcReadSchemaTransformProvider.java b/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcReadSchemaTransformProvider.java
index b136b3e3e057..6777be50ab50 100644
--- a/sdks/java/io/jdbc/src/main/java/org/apache/beam/sdk/io/jdbc/JdbcR... | 2 | 1 | 0 | [{"id": "G0", "claim": "Remove the IDE auto-populated @UnknownKeyFor @NonNull @Initialized annotations from the identifier() override, since such existing occurrences in this file were not needed either.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
apache__beam__35582 | apache/beam | 35,582 | defect | abd82bb8b1dcd182dcb39fd0f1bfb694a08b0ca4 | b3ca2b8e6864382defd56522a0cc4f741d0db18a | Add glob and single file support to BeamSQL ParquetTable LOCATION | This PR modifies ParquetTable to intelligently resolve the file path before passing it to ParquetIO.
It uses FileSystems.match() to check if the provided LOCATION corresponds to a directory.
If it's a directory, a wildcard (*) is appended to the path to maintain the existing behavior of reading all files within i... | diff --git a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/parquet/ParquetTable.java b/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/parquet/ParquetTable.java
index 88d162c02370..32d4a7907af8 100644
--- a/sdks/java/extensions/sql/src/ma... | 1 | 1 | 1 | [{"id": "G0", "claim": "buildIOReader runs at pipeline expansion time and the submitting VM may not have access to the filesystem location, so resolveFilePattern should not rely on the FileSystems.match call; instead treat a location containing '*' as a glob and a location ending in .pqt/.parquet as a single file.", "c... | null |
apache__beam__35743 | apache/beam | 35,743 | defect | 805b68c955383b2984a64308d33ef94533b6b037 | 688a5244ab1a2f73465b212266a5146399fa5b29 | Fix BeamSQL CalcRel DATETIME expression | Fix #35736
**Please** add a meaningful description for your change here
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate issue in your description (for example: `addresses #123`), if ap... | diff --git a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel.java b/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel.java
index ea8658e4d5f0..5c6534f2dc2b 100644
--- a/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/... | 2 | 1 | 1 | [{"id": "G0", "claim": "Use a fixed instant instead of Instant.now() in the new test's input data so the test stays reproducible.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add one more test case with a list of Joda Instant containing null elements ... | null |
apache__beam__36138 | apache/beam | 36,138 | defect | 4f0bcf63a379de9931a7cd9761bc8087b2c361d5 | 755a665e5565aea09647dcdd5b1e9e5ca78781f4 | Cleanly separate v1 worker and v2 sdk harness container image handling in DataflowRunner | This is a simple first step to fix #30634
The V1 worker container is wholly independent of the V2 SDK harness container. This change makes them very obviously separate codepaths.
The prior changes to try to deprecate `--workerHarnessContainerImageUrl` option were made in error. These two options are analogous but... | diff --git a/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java b/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
index 08d84705c5c7..50675a21eace 100644
--- a/runners/google-cloud-dataflow-j... | 3 | 2 | 0 | [{"id": "G0", "claim": "The useUnifiedWorker statement inside getDefaultV1WorkerContainerVersion (added by this PR for the V1 worker container version) is not needed and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comments at L1... | null |
apache__beam__36409 | apache/beam | 36,409 | defect | 1282e6cb0bdf7dfcb1647945d539f24e8f4c6e4e | e69e6057716045455b3acf047f4fa2955610837d | Add Java 25 tests | Fix #35627
**Please** add a meaningful description for your change here
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate issue in your description (for example: `addresses #123`), if ap... | diff --git a/.github/workflows/README.md b/.github/workflows/README.md
index d59e4c42dc5f..f01d2a1257bd 100644
--- a/.github/workflows/README.md
+++ b/.github/workflows/README.md
@@ -321,11 +321,11 @@ PostCommit Jobs run in a schedule against master branch and generally do not get
| [ PostCommit Java BigQueryEarlyRoll... | 1 | 1 | 0 | [{"id": "G0", "claim": "Delete the long-disabled and unreferenced verifyPortabilityApi task block in runners/google-cloud-dataflow-java/examples/build.gradle (non-blocking).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
apache__beam__36781 | apache/beam | 36,781 | defect | d76263a9575ff7fca4d327966cb5e795c89b7acd | 1fd3d8035967802508a0228e8884e6a2e6c1e8c1 | Implement pluggable Lineage in Java SDK | Addresses #36790: "[Feature Request]: Make lineage tracking pluggable"
## Changes
- **Created** `org.apache.beam.sdk.lineage.LineageBase` - Plugin interface with single `add()` method
- **Created** `org.apache.beam.sdk.lineage.LineageOptions` - Pipeline option (`--lineageType`) for explicit plugin selection
- *... | diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/FileSystems.java b/sdks/java/core/src/main/java/org/apache/beam/sdk/io/FileSystems.java
index 7e2940a2c35b..06e08a1a53df 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/io/FileSystems.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/s... | 8 | 8 | 3 | [{"id": "G0", "claim": "The JmsIO test tweaks (the null-message guards in JmsIOTest and the raised unacknowledged-records threshold in JmsIOIT) are irrelevant changes to fix flaky tests and should not be part of this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr... | null |
apache__beam__36832 | apache/beam | 36,832 | defect | 296421d0203d2a0ff2c6e27d3c1d9ec34d088aa5 | 8f36be3cf24fe970eae8866df7701f4bafc50b0e | Add table information to BigQueryStorageApiInsertError | ## What is the purpose of the change?
This change adds table identification capabilities to `BigQueryStorageApiInsertError` to help users identify and troubleshoot errors when using BigQuery Storage Write API,
especially in pipelines that write to multiple tables.
Fixes #36831
## What changes are in... | diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryStorageApiInsertError.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryStorageApiInsertError.java
index 3f9c6068e0a2..8437cec0c9c7 100644
--- a/sdks/java/io/google... | 7 | 7 | 2 | [{"id": "G0", "claim": "BigQueryStorageApiInsertError should hold and expose a com.google.api.services.bigquery.model.TableReference field instead of a raw tableUrn string, to be consistent with BigQueryInsertError.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
apache__beam__36839 | apache/beam | 36,839 | defect | ce58563ffd98717f1c7ccb19227244f5b7ca5365 | 306035010f4e35a7f425c81bd869ea9502bfeac1 | Fix inconsistent data type in GenericRecord and AvroSchema for AvroWriter | Fix #36735
**Please** add a meaningful description for your change here
* Fix inconsistent data type in GenericRecord and AvroSchema for AvroWriter
* Fixed PortableBigQueryDestinations not honoring avroschema attached to AvroWriteRequest, causing Avro Schema is inferred from Beam schema for every element.
... | diff --git a/sdks/java/extensions/avro/src/main/java/org/apache/beam/sdk/extensions/avro/schemas/utils/AvroUtils.java b/sdks/java/extensions/avro/src/main/java/org/apache/beam/sdk/extensions/avro/schemas/utils/AvroUtils.java
index 460bfaec4a36..7385e16665af 100644
--- a/sdks/java/extensions/avro/src/main/java/org/apach... | 1 | 1 | 0 | [{"id": "G0", "claim": "The four individual Avro numeric schema constants and the if-else conversion chain in AvroUtils should be replaced by a single static map mapping Avro schemas to their numeric conversion functions, for maintainability and less boilerplate.", "category": "maintainability", "verdict": "supported",... | null |
apache__beam__36895 | apache/beam | 36,895 | defect | 659201612f7e86420bbcdb008112ab5b65e87948 | a847667148b7f35abb9163a8aa754eef572a5857 | Fix inconsistent handling of Firestore Project and Database ID | Fix inconsistent handling of Firestore Project and Database ID in routing header (resolves #36894)
Updates the WriteFn logic to consistently handle the project / database ID values that it sets in the routing header and RPC requests.
------------------------
Thank you for your contribution! Follow this checkli... | diff --git a/CHANGES.md b/CHANGES.md
index 222d4b82cb25..7d261f20a81c 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -87,7 +87,7 @@
## Bugfixes
-* Fixed X (Java/Python) ([#X](https://github.com/apache/beam/issues/X)).
+* Fixed #36895 (Java) ([#36895](https://github.com/apache/beam/issues/36895)).
## Known Issues
... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new CHANGES.md entry should describe what the fix/issue is, like the other entries in the same file, instead of just 'Fixed #36895 (Java)'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc on FirestoreOptions.... | null |
apache__beam__37066 | apache/beam | 37,066 | defect | 57e34b6906b38ebf92ff3128f973184fb91f7f3a | 5e61105467ee9f32eff3960e0e3166b81acdb929 | Deduplicate MonitoringInfo in PortableMetrics | **Please** add a meaningful description for your change here
------------------------
fixes #32001
Merge `attempted` and `committed` `MonitoringInfo` by metric identity, prefer committed entries, and create `MetricResult` with the correct committed flag.
Add unit test verifying deduplication and that the committe... | diff --git a/runners/portability/java/src/main/java/org/apache/beam/runners/portability/PortableMetrics.java b/runners/portability/java/src/main/java/org/apache/beam/runners/portability/PortableMetrics.java
index 3c7be7907ec8..12e3e3a4b016 100644
--- a/runners/portability/java/src/main/java/org/apache/beam/runners/port... | 2 | 2 | 1 | [{"id": "G0", "claim": "The extract*MetricsFromJobMetrics methods are inefficient at O(N^2) because each mapped item calls findCommittedFlag, which rescans the whole list; they should operate on the Stream<MiAndCommitted> directly to become O(N), after which the findCommittedFlag helper can be removed.", "category": "p... | null |
apache__beam__37723 | apache/beam | 37,723 | defect | d0223389f47f8085477e113391d7ae5961bc0bbc | 1ec825d2a3dfa93123ad3d5c16a45ac4894ca6f8 | Adds bundleFinalizer support to Dataflow non-portable worker. | This PR modifies the existing StreamingCommitFinalizer cache used for source checkpoint callbacks, but adds the ability to specify a callback expiration. This was done by mimic-ing the code in the portable runner's `sdks/java/harness/src/main/java/org/apache/beam/fn/harness/control/FinalizeBundleHandler.java`.
We n... | diff --git a/runners/core-java/src/main/java/org/apache/beam/runners/core/SimpleDoFnRunner.java b/runners/core-java/src/main/java/org/apache/beam/runners/core/SimpleDoFnRunner.java
index 0fd63556b9c7..e2bf0f3c18b9 100644
--- a/runners/core-java/src/main/java/org/apache/beam/runners/core/SimpleDoFnRunner.java
+++ b/runn... | 16 | 14 | 2 | [{"id": "G0", "claim": "finalizeCommits should acquire the lock once, pull out all the callbacks, and then execute them on the provided executor as before, rather than locking per id and running callbacks inline.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
apache__beam__37740 | apache/beam | 37,740 | defect | 4fe61733f7786dcccc214f2095feb61fc713e0ac | 25e5919a28ce1a3808bc9b20d0a9b8cd37d2194d | Add more ParquetIo write options | **Please** add a meaningful description for your change here
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate issue in your description (for example: `addresses #123`), if applicable. This... | diff --git a/sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java b/sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java
index 24c18f382817..df900ed86399 100644
--- a/sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java
+++ b/sdks/java/... | 4 | 2 | 1 | [{"id": "G0", "claim": "The new dictionary-page check is buggy because getDictionaryPageOffset() returns -1 rather than 0 when no dictionary page is present, so the assertEquals(..., 0, ...) assertion is wrong, and Java Streams would make the check more concise.", "category": "correctness", "verdict": "supported", "pri... | null |
apache__beam__37750 | apache/beam | 37,750 | defect | 3197d88ef5c9f41371756c78b0efca8590b47165 | d57e833a0b4cbc9cf0ffdf06c75887b03563712a | [DebeziumIO] Implement startOffset & offset persistence for Kafka (#28248) | Implement withStartOffset for Debezium and external offset persistence to handle restarts. (Addresses #28248)
------------------------
See the [Contributor Guide](https://beam.apache.org/contribute) for more tips on [how to make review process smoother](https://github.com/apache/beam/blob/master/CONTRIBUTING.md#mak... | diff --git a/sdks/go/pkg/beam/io/xlang/debeziumio/debezium.go b/sdks/go/pkg/beam/io/xlang/debeziumio/debezium.go
index 547aba0ceb99..f31a71fbc9d9 100644
--- a/sdks/go/pkg/beam/io/xlang/debeziumio/debezium.go
+++ b/sdks/go/pkg/beam/io/xlang/debeziumio/debezium.go
@@ -77,6 +77,8 @@ type readFromDebeziumSchema struct {
... | 7 | 7 | 4 | [{"id": "G0", "claim": "As written the PR supports reading from a given offset but does not resolve #28248, because restarting a pipeline that has set an offset would still start from the same offset; Abacn proposes an OffsetRetainer interface (read offset on pipeline startup, write it on checkpointing, exposed as IO c... | null |
apache__beam__37775 | apache/beam | 37,775 | defect | e7a97c26893e9d25fb0224c3c5b3bcdd5ffe569a | a744f942ace1dd1a248e7656e983e95aafb240ac | [ErrorProne] Enable JavaTimeDefaultTimeZone check | This PR removes the JavaTimeDefaultTimeZone ErrorProne check from the disabledChecks list in src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy to enforce it globally.
Additionally, it resolves all existing JavaTimeDefaultTimeZone warnings across the project.
------------------------
Thank you for y... | diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 134af9a8b4c1..25f142dd1503 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/b... | 7 | 6 | 1 | [{"id": "G0", "claim": "The BigQuery test's static test data should use a fixed timezone such as ZoneId.of(\"UTC\") instead of ZoneId.systemDefault(), because systemDefault can make the tests flaky depending on the execution environment's timezone.", "category": "testing", "verdict": "supported", "priority": "P2", "sco... | null |
apache__beam__37787 | apache/beam | 37,787 | defect | 4b448b069f49feb155e797ab15f53df8a29b2dac | c006ae19249f969726e49b2ca1f08d0c62742bc3 | [yaml] - add bigquery destination test | We currently don't have any active tests dealing with dynamic destinations, so adding one for BQ.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate issue in your description (for example: `... | diff --git a/.github/trigger_files/beam_PostCommit_Yaml_Xlang_Direct.json b/.github/trigger_files/beam_PostCommit_Yaml_Xlang_Direct.json
index b5704c67ef1c..273008f1b3ee 100644
--- a/.github/trigger_files/beam_PostCommit_Yaml_Xlang_Direct.json
+++ b/.github/trigger_files/beam_PostCommit_Yaml_Xlang_Direct.json
@@ -1,4 +... | 2 | 2 | 1 | [{"id": "G0", "claim": "The newly added BigQuery dynamic-destinations YAML test appears to be breaking the Yaml_Xlang_Direct postcommit for the same reason as the tests excluded at sdks/python/build.gradle#L178 (beam#30950), so it should at least be excluded in this PR.", "category": "testing", "verdict": "supported", ... | null |
apache__beam__37788 | apache/beam | 37,788 | defect | 914e425b26daf26603bd5d0b5020b1c0ecd7a50c | f88891d5024a1108bdbab30464a74e7c7182bca5 | [ErrorProne] enable ClassInitializationDeadlock, Finalize, NullableTypeParameter, ThreadPriorityCheck | Enable error-prone checks: ClassInitializationDeadlock, Finalize, NullableTypeParameter, ThreadPriorityCheck
and suppress all occurences as they are needed.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Me... | diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 2705752e26bc..05f17134bdc7 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/b... | 4 | 3 | 0 | [{"id": "G0", "claim": "Do not suppress the nullness checker on the BeamFnStatusClient constructor; keep only the ThreadPriorityCheck suppression this pull request needs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Put the NullableTypeParamet... | null |
apache__beam__37815 | apache/beam | 37,815 | defect | 6c67a938edd52834eb790647d9951b6bbb8c01da | af866bfabdc3d2527a8fc6a0ca53b952b3794219 | ClickHouseIO - Improve user agent | ### Description
* Updated the user agent setting name from `product_name` (deprecated) to `client_name`
* Create a shared logic for building the user agent
* Make sure we concat any external `client_name` to the base user agent
* Rename the original test class to IT
* Create a new test class for unit tests
* A... | diff --git a/sdks/java/io/clickhouse/src/main/java/org/apache/beam/sdk/io/clickhouse/ClickHouseIO.java b/sdks/java/io/clickhouse/src/main/java/org/apache/beam/sdk/io/clickhouse/ClickHouseIO.java
index fc00a1e420e0..af5611024780 100644
--- a/sdks/java/io/clickhouse/src/main/java/org/apache/beam/sdk/io/clickhouse/ClickHo... | 3 | 2 | 1 | [{"id": "G0", "claim": "Add documentation for the client_name / user agent behaviour the change introduces at the expand() call site.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add integration tests verifying the user agent (product name) the ... | null |
apache__beam__37831 | apache/beam | 37,831 | defect | 8e0736ab3045e8aa7939aff36aa1eaad66930f6d | 2f96e7d8ee9a9cdfd093074bb0261fa3c9142bd0 | SDF draining in dataflow runner v1 | Enable draining of SDFs for runner v1
Change: In stateful do fn, if timer received contains CausedByDrain bit, we remove hold and don't set next timer.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention th... | diff --git a/runners/core-java/src/main/java/org/apache/beam/runners/core/OutputAndTimeBoundedSplittableProcessElementInvoker.java b/runners/core-java/src/main/java/org/apache/beam/runners/core/OutputAndTimeBoundedSplittableProcessElementInvoker.java
index 26c4979b257f..d39801a75587 100644
--- a/runners/core-java/src/m... | 5 | 4 | 2 | [{"id": "G0", "claim": "The `timer` variable can be null on the initial (seed) processing call, so `timer.causedByDrain()` in the new setTimer condition will throw a NullPointerException; the condition should handle the null case, e.g. `if (timer == null || timer.causedByDrain() == CausedByDrain.NORMAL)`.", "category":... | null |
apache__beam__37851 | apache/beam | 37,851 | defect | 87d7bba644fd594fadc1b22ebc970f3ce80e9bcb | 296350a24992963679a4dc1f8a050c85cc01c50b | Fixes metadata propagation from doFn output to next parDo by introducing new interface and plumbing propagation | When data is outputted with processContext, outputReceiver or builder, it's going through sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/DoFnOutputReceivers.java which was still using context.outputWindowedValue(element, ts, windows, pane ...) interface which we decided to abandon as adding new metadata re... | diff --git a/runners/core-java/src/main/java/org/apache/beam/runners/core/OutputAndTimeBoundedSplittableProcessElementInvoker.java b/runners/core-java/src/main/java/org/apache/beam/runners/core/OutputAndTimeBoundedSplittableProcessElementInvoker.java
index 26c4979b257f..765bcdad2080 100644
--- a/runners/core-java/src/m... | 10 | 8 | 3 | [{"id": "G0", "claim": "The new outputWindowedValue methods (e.g. in SimpleDoFnRunner's OnTimerArgumentProvider) skip the checkTimestamp validation that other output methods perform, which could lead to incorrect timestamps on output elements.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop... | null |
apache__beam__37947 | apache/beam | 37,947 | defect | d48108d6f8319f1bea19ca527026a25047fcbee0 | 659068d921ebeedcc982786b3ed8487fc6f40400 | [Java] Add ByteStringOutputStream.isEmpty() and reduce ByteStringOutputStream.size() calls | This is cheaper than size() which would have to iterate through ByteString trees.
size() was showing up as .5% of CPU in a test pipeline.
------------------------
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Mention the appropriate ... | diff --git a/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/PubsubSink.java b/runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/PubsubSink.java
index 0616f08ae25f..2f4b26b89ab4 100644
--- a/runners/google-cloud-dataflow-java/... | 1 | 1 | 1 | [{"id": "G0", "claim": "hasBufferedOutput() returns output.isEmpty() but should return !output.isEmpty() so the buffered-output checks skip empty receivers instead of non-empty ones.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.