HyukjinKwon commented on a change in pull request #33906:
URL: https://github.com/apache/spark/pull/33906#discussion_r702390868
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/functions.scala
##########
@@ -1800,6 +1800,24 @@ object functions {
*/
def cosh(columnName: String): Column = cosh(Column(columnName))
+ /**
+ * @param e angle in radians
+ * @return cotangent of the angle
+ *
+ * @group math_funcs
+ * @since 3.3.0
+ */
+ def cot(e: Column): Column = withExpr { Cot(e.expr) }
+
+ /**
+ * @param columnName angle in radians
+ * @return cotangent of the angle
+ *
+ * @group math_funcs
+ * @since 3.2.0
+ */
+ def cot(columnName: String): Column = cot(Column(columnName))
Review comment:
Mind removing this one? Looks fine otherwise
--
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]