From 61f976b093c015197f86375b3a24df1c62ffcc63 Mon Sep 17 00:00:00 2001 From: Chengcheng Jin Date: Wed, 25 Sep 2024 10:49:45 +0000 Subject: [PATCH] refactor the decimal register --- .../functions/sparksql/DecimalArithmetic.cpp | 113 +++++++++--------- 1 file changed, 59 insertions(+), 54 deletions(-) diff --git a/velox/functions/sparksql/DecimalArithmetic.cpp b/velox/functions/sparksql/DecimalArithmetic.cpp index bcd5d051961c..52372b51cd5d 100644 --- a/velox/functions/sparksql/DecimalArithmetic.cpp +++ b/velox/functions/sparksql/DecimalArithmetic.cpp @@ -498,60 +498,41 @@ struct DecimalDivideFunction { uint8_t rPrecision_; }; -template