rok commented on issue #48003: URL: https://github.com/apache/arrow/issues/48003#issuecomment-3518146007
To circle back: > [@rok](https://github.com/rok) I am talking about `multiply(duration, double)` and `divide(duration, double)`. These kernels do not exist (tested with version 22.0.0) We have a request to add two kernels that could be expressed as composites of existing kernels: * `multiply(duration[xs], double)` -> `multiply(duration[xs], double).round_to_multiple(1).cast(duration[xs])` * `divide(duration[xs], double)` -> `divide(duration[xs], double).round_to_multiple(1).cast(duration[xs])` This would be straightforward to do except for maybe the rounding parameters. However I am not sure we want to introduce composite kernels. Perhaps we could have alias kernels (either in c++ or python) that would run the series of kernels that would express the desired computation? cc @pitrou @jorisvandenbossche what's you opinion on this? -- 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]
