amaliujia commented on code in PR #41298:
URL: https://github.com/apache/spark/pull/41298#discussion_r1204943558
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala:
##########
@@ -2044,12 +2044,13 @@ case class MonthsBetween(
case class ParseToDate(
left: Expression,
format: Option[Expression],
- timeZoneId: Option[String] = None)
+ timeZoneId: Option[String] = None,
+ evalMode: EvalMode.Value = EvalMode.fromSQLConf(SQLConf.get))
extends RuntimeReplaceable with ImplicitCastInputTypes with
TimeZoneAwareExpression {
override lazy val replacement: Expression = format.map { f =>
Cast(GetTimestamp(left, f, TimestampType, timeZoneId), DateType,
timeZoneId)
Review Comment:
done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]