From 21adec77d53c98088eae4c0156082ad2c6233c5f Mon Sep 17 00:00:00 2001 From: loneylee Date: Tue, 19 Mar 2024 11:28:21 +0800 Subject: [PATCH] fix checkstyle --- .../io/glutenproject/expression/ExpressionConverter.scala | 5 ++++- .../io/glutenproject/expression/TimestampAddTransform.scala | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gluten-core/src/main/scala/io/glutenproject/expression/ExpressionConverter.scala b/gluten-core/src/main/scala/io/glutenproject/expression/ExpressionConverter.scala index 11a99a0ba0933..dfe4e552cbb93 100644 --- a/gluten-core/src/main/scala/io/glutenproject/expression/ExpressionConverter.scala +++ b/gluten-core/src/main/scala/io/glutenproject/expression/ExpressionConverter.scala @@ -527,7 +527,10 @@ object ExpressionConverter extends SQLConfHelper with Logging { TimestampAddTransform( substraitExprName, replaceWithExpressionTransformerInternal(timestampAdd.left, attributeSeq, expressionsMap), - replaceWithExpressionTransformerInternal(timestampAdd.right, attributeSeq, expressionsMap), + replaceWithExpressionTransformerInternal( + timestampAdd.right, + attributeSeq, + expressionsMap), timestampAdd ) case e: Transformable => diff --git a/gluten-core/src/main/scala/io/glutenproject/expression/TimestampAddTransform.scala b/gluten-core/src/main/scala/io/glutenproject/expression/TimestampAddTransform.scala index 6288ddb5036b6..c5ada1d6d276f 100644 --- a/gluten-core/src/main/scala/io/glutenproject/expression/TimestampAddTransform.scala +++ b/gluten-core/src/main/scala/io/glutenproject/expression/TimestampAddTransform.scala @@ -16,11 +16,13 @@ */ package io.glutenproject.expression -import com.google.common.collect.Lists import io.glutenproject.expression.ConverterUtils.FunctionConfig import io.glutenproject.substrait.expression.{ExpressionBuilder, ExpressionNode} + import org.apache.spark.sql.catalyst.expressions._ +import com.google.common.collect.Lists + case class TimestampAddTransform( substraitExprName: String, left: ExpressionTransformer,