From 95bb89ec104857159df05ec32275ff0a550e9e55 Mon Sep 17 00:00:00 2001 From: loneylee Date: Thu, 11 Jul 2024 14:22:58 +0800 Subject: [PATCH] fix style --- .../org/apache/gluten/sql/shims/spark32/Spark32Shims.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shims/spark32/src/main/scala/org/apache/gluten/sql/shims/spark32/Spark32Shims.scala b/shims/spark32/src/main/scala/org/apache/gluten/sql/shims/spark32/Spark32Shims.scala index 1d75fda12831..5ad63884af38 100644 --- a/shims/spark32/src/main/scala/org/apache/gluten/sql/shims/spark32/Spark32Shims.scala +++ b/shims/spark32/src/main/scala/org/apache/gluten/sql/shims/spark32/Spark32Shims.scala @@ -277,7 +277,9 @@ class Spark32Shims extends SparkShims { ) } - override def genDecimalRoundExpressionOutput(decimalType: DecimalType, toScale: Int): DecimalType = { + override def genDecimalRoundExpressionOutput( + decimalType: DecimalType, + toScale: Int): DecimalType = { val p = decimalType.precision val s = decimalType.scale DecimalType(p, if (toScale > s) s else toScale)