MaxGekk commented on code in PR #50296: URL: https://github.com/apache/spark/pull/50296#discussion_r2004831936
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/timeExpressions.scala: ########## @@ -18,12 +18,13 @@ package org.apache.spark.sql.catalyst.expressions import java.time.DateTimeException - Review Comment: Please, add a blank line. ########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/timeExpressions.scala: ########## @@ -18,12 +18,13 @@ package org.apache.spark.sql.catalyst.expressions import java.time.DateTimeException - -import org.apache.spark.sql.catalyst.expressions.objects.Invoke +import org.apache.spark.sql.catalyst.analysis.ExpressionBuilder +import org.apache.spark.sql.catalyst.expressions.objects.{Invoke, StaticInvoke} +import org.apache.spark.sql.catalyst.util.DateTimeUtils import org.apache.spark.sql.catalyst.util.TimeFormatter import org.apache.spark.sql.errors.QueryExecutionErrors import org.apache.spark.sql.internal.types.StringTypeWithCollation -import org.apache.spark.sql.types.{AbstractDataType, ObjectType, TimeType} +import org.apache.spark.sql.types.{AbstractDataType, IntegerType, LongType, ObjectType, TimeType} Review Comment: Could you fix the error: ``` [ERROR] [Error] /Users/maxim.gekk/proj/review-the-sakthi_SPARK-51420/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/timeExpressions.scala:27: Unused import Applicable -Wconf / @nowarn filters for this fatal warning: msg=<part of the message>, cat=unused-imports, site=org.apache.spark.sql.catalyst.expressions ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org