From df9e04712c290ba6f2646751285b42baea8b4066 Mon Sep 17 00:00:00 2001 From: Liang-Chi Hsieh Date: Mon, 13 Feb 2023 18:25:16 -0800 Subject: [PATCH] Add doc --- arrow-arith/src/arithmetic.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arrow-arith/src/arithmetic.rs b/arrow-arith/src/arithmetic.rs index c885f3eb5140..286cdc6e1fb4 100644 --- a/arrow-arith/src/arithmetic.rs +++ b/arrow-arith/src/arithmetic.rs @@ -1172,6 +1172,9 @@ pub fn multiply_dyn_checked( /// /// This performs decimal multiplication which allows precision loss if an exact representation /// is not possible for the result. In the case, the result will be rounded. +/// +/// Note that this kernel is not optimized for performance yet. It is implemented for compatibility +/// with precision loss `multiply` function provided by other data processing engines. pub fn multiply_decimal( left: &PrimitiveArray, right: &PrimitiveArray,