cloud-fan commented on a change in pull request #34729:
URL: https://github.com/apache/spark/pull/34729#discussion_r777976263
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/functions.scala
##########
@@ -1755,15 +1755,23 @@ object functions {
def cbrt(columnName: String): Column = cbrt(Column(columnName))
/**
- * Computes the ceiling of the given value.
+ * Computes the ceiling of the given value of `e` to `scale` decimal places.
+ *
+ * @group math_funcs
+ * @since 3.3.0
+ */
+ def ceil(e: Column, scale: Column): Column = withExpr { Ceil(e.expr,
scale.expr) }
Review comment:
We can use `UnresolvedFunction`
--
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]