HaoYang670 opened a new issue #1350:
URL: https://github.com/apache/arrow-rs/issues/1350


   **Describe the bug**
   The function `validate_new_batch` constains some repetitive code. We could 
find a way to refactor it.
   
https://github.com/apache/arrow-rs/blob/master/arrow/src/record_batch.rs#L133-L166
   
   **To Reproduce**
   
   **Expected behavior**
   Clean and readable code
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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