Weijun-H commented on code in PR #12474:
URL: https://github.com/apache/datafusion/pull/12474#discussion_r1845285782


##########
docs/source/user-guide/sql/scalar_functions.md:
##########
@@ -675,6 +675,26 @@ nvl2(expression1, expression2, expression3)
 +----------------------------------------+
 ```
 
+## Comparison Functions
+
+- [greatest](#greatest)
+
+### `greatest`
+
+Returns the greatest value in a list of expressions.
+Returns _null_ if all expressions are _null_.
+
+```
+greatest(expression1[, ..., expression_n])
+```
+
+#### Arguments
+
+- **expression1, expression_n**:
+  Expressions to compare and return the greatest value.
+  Can be a constant, column, or function, and any combination of arithmetic 
operators.
+  Pass as many expression arguments as necessary.
+

Review Comment:
   Datafusion automatically generates this md, you could check how other 
functions did.



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