sgilmore10 opened a new pull request, #47020:
URL: https://github.com/apache/arrow/pull/47020

   ### Rationale for this change
   
   This PR closes a test coverage gap for 
`arrow.array.<Type>Array.fromMATLAB(data)`. 
   
   ### What changes are included in this PR?
   
   1. Added `hNumericArray/ErrorIfInvalidType`, which verifies 
`arrow.array.<Type>Array.fromMATLAB(data)` throws an exception if `data` has an 
unexpected type.
   2. Added tBooleanArray/ErrorIfNotLogical`, which verifies 
`arrow.array.BooleanArray.fromMATLAB(data)` throws an exception if `data` is 
not a `logical` array.
   3.  Added tTimestampArray/ErrorIfNotLogical`, which verifies 
`arrow.array.TimestampArray.fromMATLAB(data)` throws an exception if `data` is 
not a `datetime` array.
   
   ### Are these changes tested?
   
   This is a test-only PR. 
   
   ### Are there any user-facing changes?
   
   No.
   


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