cloud-fan commented on code in PR #44483:
URL: https://github.com/apache/spark/pull/44483#discussion_r1444167519


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala:
##########
@@ -911,6 +911,23 @@ case class WeekOfYear(child: Expression) extends 
GetDateField {
     copy(child = newChild)
 }
 
+@ExpressionDescription(
+  usage = "_FUNC_(date) - Returns the three-letter abbreviated month name from 
the given date.",
+  examples = """
+    Examples:
+      > SELECT _FUNC_('2008-02-20');

Review Comment:
   in the function doc, shall we avoid implicit cast and use `DATE'2008-02-20'`?



-- 
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]

Reply via email to