alamb opened a new issue, #7951:
URL: https://github.com/apache/arrow-rs/issues/7951

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   I find myself annoyed at having to give names to the intermediate object / 
list builders in examples and tests.
   
   **Describe the solution you'd like**
   
    I would rather just use a builder style api
   
   **Describe alternatives you've considered**
   For example from
           {
               let mut list = builder.new_list();
               list.append_value("hello");
               list.append_value(42i32);
               list.append_value(true);
               list.append_value(()); // null
               list.append_value(std::f64::consts::PI);
               list.finish();
           }
   ```
   
   to
   ```rust
           builder.new_list()
               .with_value("hello")
               .with_value(42i32)
               .with_value(true)
               .with_value(()) // null
               .with_value(std::f64::consts::PI)
               .finish()
   ```
   
   **Additional context**
   Related
    - https://github.com/apache/arrow-rs/issues/7949
    - https://github.com/apache/arrow-rs/pull/7950
   


-- 
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.apache.org

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

Reply via email to