GPSnoopy commented on issue #8042:
URL: https://github.com/apache/arrow-rs/issues/8042#issuecomment-3183902898

   Similarly, `PrimitiveRunBuilder` calls `RunArray::try_new` which creates the 
value field as nullable, with no way to override this:
   
   ```rust
       pub fn try_new(run_ends: &PrimitiveArray<R>, values: &dyn Array) -> 
Result<Self, ArrowError> {
           let run_ends_type = run_ends.data_type().clone();
           let values_type = values.data_type().clone();
           let ree_array_type = DataType::RunEndEncoded(
               Arc::new(Field::new("run_ends", run_ends_type, false)),
               Arc::new(Field::new("values", values_type, true)),
           );
   ```
   
   So far, I've not found a workaround for this part.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to