Github user NihalHarish commented on a diff in the pull request:
https://github.com/apache/spark/pull/21482#discussion_r192575235
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -1107,6 +1107,14 @@ object functions {
*/
def input_file_name(): Column = withExpr { InputFileName() }
+ /**
+ * Return true iff the column is Infinity.
+ *
+ * @group normal_funcs
+ * @since 2.4.0
+ */
+ def isinf(e: Column): Column = withExpr { IsInf(e.expr) }
--- End diff --
I have followed what seemed to be the preexistent convention for function
names in those particular files. For example in `functions.scala` all function
names were in lower case but in `Column.scala` all function names were in camel
case.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]