alamb edited a comment on pull request #9468:
URL: https://github.com/apache/arrow/pull/9468#issuecomment-778759451


   > I agree with @nevi-me : Array::data_type(&a) == DataType::Null if and only 
if a.as_ref().downcast_ref() is infalible.
   
   
   Good call @jorgecarleitao  -- I didn't realize that the real bug was  
`NullArray` created by `NullArray::new_with_type` claiming to be 
`DataType::Int32`, etc. Since this has been fixed by @nevi-me  in 
https://github.com/apache/arrow/pull/9469  I am feeling much better and have 
updated this PR's description to remove the "Note" section


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


Reply via email to