gengliangwang commented on a change in pull request #33290:
URL: https://github.com/apache/spark/pull/33290#discussion_r667472513



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala
##########
@@ -2286,7 +2286,8 @@ case class MakeDate(
 
 // scalastyle:off line.size.limit
 @ExpressionDescription(
-  usage = "_FUNC_(year, month, day, hour, min, sec[, timezone]) - Create 
timestamp from year, month, day, hour, min, sec and timezone fields.",
+  usage = "_FUNC_(year, month, day, hour, min, sec[, timezone]) - Create 
timestamp from year, month, day, hour, min, sec and timezone fields. " +
+    "The result data type is consistent with the value of configuration 
`spark.sql.timestampType`",

Review comment:
       There will be errors:
   ```
   annotation argument needs to be a constant; found: "_FUNC_(year, month, day, 
hour, min, sec[, timezone]) - Create timestamp from year, month, day, hour, 
min, sec and timezone fields. ".+(scala.StringContext.apply("The result data 
type is consistent ...
   ```




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