dtenedor commented on code in PR #47851:
URL: https://github.com/apache/spark/pull/47851#discussion_r1731907437


##########
sql/core/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -7866,6 +7874,14 @@ object functions {
    */
   def nvl2(col1: Column, col2: Column, col3: Column): Column = 
Column.fn("nvl2", col1, col2, col3)
 
+  /**
+   * Returns zero if `col` is null, or `col` otherwise.
+   *
+   * @group conditional_funcs
+   * @since 4.0.0
+   */
+  def zeroifnull(col: Column): Column = Column.fn("zeroifnull", col)

Review Comment:
   Sure, this is done.
   (edit: this file seems to be gone after syncing)



##########
sql/core/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -7866,6 +7874,14 @@ object functions {
    */
   def nvl2(col1: Column, col2: Column, col3: Column): Column = 
Column.fn("nvl2", col1, col2, col3)
 
+  /**
+   * Returns zero if `col` is null, or `col` otherwise.
+   *
+   * @group conditional_funcs
+   * @since 4.0.0
+   */
+  def zeroifnull(col: Column): Column = Column.fn("zeroifnull", col)

Review Comment:
   Sure, this is done.
   (edit: this file now seems to be gone after syncing)



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