jhorstmann commented on a change in pull request #8736:
URL: https://github.com/apache/arrow/pull/8736#discussion_r528251036
##########
File path: rust/arrow/src/array/array.rs
##########
@@ -157,7 +157,7 @@ pub trait Array: fmt::Debug + Send + Sync + JsonEqual {
/// assert_eq!(array.is_null(1), true);
/// ```
fn is_null(&self, index: usize) -> bool {
- self.data().is_null(index)
+ self.data_ref().is_null(index)
Review comment:
I created https://issues.apache.org/jira/browse/ARROW-10683 about
removing `data` method.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]