This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 75e5c5248f [Variant] mark metadata field as non-nullable (#8416)
75e5c5248f is described below
commit 75e5c5248f3a96e313bd292dff1aa7ca7e717eb9
Author: ding-young <[email protected]>
AuthorDate: Wed Sep 24 03:04:31 2025 +0900
[Variant] mark metadata field as non-nullable (#8416)
# 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 issue to this PR using the GitHub syntax.
- Closes #8410 .
# Rationale for this change
# What changes are included in this PR?
# Are these changes tested?
# Are there any user-facing changes?
No
---
parquet-variant-compute/src/variant_get.rs | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/parquet-variant-compute/src/variant_get.rs
b/parquet-variant-compute/src/variant_get.rs
index ef602e84f1..5adb3c0d31 100644
--- a/parquet-variant-compute/src/variant_get.rs
+++ b/parquet-variant-compute/src/variant_get.rs
@@ -1034,7 +1034,7 @@ mod test {
]);
let struct_array = StructArrayBuilder::new()
- .with_field("metadata", Arc::new(metadata), true)
+ .with_field("metadata", Arc::new(metadata), false)
.with_field("typed_value", Arc::new(typed_value), true)
.with_field("value", Arc::new(values), true)
.with_nulls(nulls)
@@ -1092,7 +1092,7 @@ mod test {
.expect("should create fixed size binary array");
let struct_array = StructArrayBuilder::new()
- .with_field("metadata", Arc::new(metadata), true)
+ .with_field("metadata", Arc::new(metadata), false)
.with_field("typed_value", Arc::new(typed_value), true)
.with_field("value", Arc::new(values), true)
.with_nulls(nulls)
@@ -1137,7 +1137,7 @@ mod test {
]);
let struct_array = StructArrayBuilder::new()
- .with_field("metadata", Arc::new(metadata), true)
+ .with_field("metadata", Arc::new(metadata), false)
.with_field("typed_value", Arc::new(typed_value), true)
.with_field("value", Arc::new(values), true)
.with_nulls(nulls)
@@ -1182,7 +1182,7 @@ mod test {
]);
let struct_array = StructArrayBuilder::new()
- .with_field("metadata", Arc::new(metadata), true)
+ .with_field("metadata", Arc::new(metadata), false)
.with_field("typed_value", Arc::new(typed_value), true)
.with_field("value", Arc::new(values), true)
.with_nulls(nulls)
@@ -1227,7 +1227,7 @@ mod test {
]);
let struct_array = StructArrayBuilder::new()
- .with_field("metadata", Arc::new(metadata), true)
+ .with_field("metadata", Arc::new(metadata), false)
.with_field("typed_value", Arc::new(typed_value), true)
.with_field("value", Arc::new(values), true)
.with_nulls(nulls)