randolf-scholz commented on issue #48003:
URL: https://github.com/apache/arrow/issues/48003#issuecomment-3469226967
@rok I am talking about `multiple(duration, double)` and `divide(duration,
double)`. These do not exist
```python
import pyarrow as pa
x = pa.array([1, 2, 3], type=pa.duration("s"))
y = pa.array([0.0, 1.5, 2.9], type=pa.float64())
pa.compute.multiply(x, y)
# pyarrow.lib.ArrowNotImplementedError: Function 'multiply' has no kernel
matching input types (duration[s], double)
```
Because `duration` is internally an integer, implementing this operation
requires automatic rounding as in `numpy`.
--
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]