leihou6116 opened a new issue, #38652:
URL: https://github.com/apache/arrow/issues/38652
### Describe the enhancement requested
The current tests for MATLAB interface `arrow.array.Time32Array.fromMATLAB`
and `arrow.array.Time64Array.fromMATLAB` don't cover the preservation of time
precision when `TimeUnit` is specified. The design might be changed in the
future. If we add tests to cover the current behavior, the tests will be
helpful to evaluate impact in the future.
**An example of current behavior:**
```matlab
>> t = duration(0,0,1.5, 'Format', 'hh:mm:ss.SSS')
t =
duration
00:00:01.500
>> arrow.array.Time32Array.fromMATLAB(t)
ans =
Time32Array with 1 element and 0 null values:
00:00:02
```
### Component(s)
MATLAB
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]