Commits


Yibo Cai authored and Antoine Pitrou committed 29130ca54cd
ARROW-11990: [C++][Compute] Handle errors consistently Arrow handles errors by returning Status/Result. But in compute kernels, errors are populated in KernelContext.status. This is not consistent, and updating KernelContext.status is not thread safe. This patch removes KernelContext.status and returns kernel errors as Status/Result. See big performance improvement for arithmetic kernels, especially the checked version (up to 4x). Also see ~50% drops from some filter kernels. Will investigate deeper as follow up task. Closes #10098 from cyb70289/11990-kernel-error-handling Authored-by: Yibo Cai <yibo.cai@arm.com> Signed-off-by: Antoine Pitrou <antoine@python.org>