Rok Mihevc created ARROW-15787:
----------------------------------
Summary: [C++] Temporal floor/ceil/round kernels could be
optimised with templating
Key: ARROW-15787
URL: https://issues.apache.org/jira/browse/ARROW-15787
Project: Apache Arrow
Issue Type: Improvement
Reporter: Rok Mihevc
[CeilTemporal, FloorTemporal,
RoundTemporal|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_temporal_unary.cc#L728-L980]
kernels could probably be templated in a clean way. They also execute a switch
statement for every call instead of creating an operator at kernel call time
and only running that.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)