MaxGekk commented on code in PR #50336:
URL: https://github.com/apache/spark/pull/50336#discussion_r2034896002
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/timeExpressions.scala:
##########
@@ -290,3 +294,100 @@ object HourExpressionBuilder extends ExpressionBuilder {
}
}
}
+
+@ExpressionDescription(
+ usage = """
+ _FUNC_([precision]) - Returns the current time at the start of query
evaluation.
Review Comment:
It would be nice if you describe the `precision` parameter since this is
visible to users. Could you `arguments` like
https://github.com/apache/spark/blob/f4ce0ab8cee043d0b1a8d935fb13ce617d2de873/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/timeExpressions.scala#L136-L141
--
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]