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


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/datetimeExpressions.scala:
##########
@@ -129,27 +129,20 @@ case class CurrentTimeZone() extends LeafExpression with 
Unevaluable {
   """,
   note = """
     The syntax without braces has been supported since 2.0.1.
+    There is no code generation since this expression should get constant 
folded by the optimizer.

Review Comment:
   We don't need to mention this internal detail in the user-facing doc.



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