Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/6721#discussion_r32651940
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -882,6 +882,24 @@ object functions {
def atan2(l: Double, rightName: String): Column = atan2(l,
Column(rightName))
/**
+ * An expression that returns the string representation of the binary
value of the given long
+ * column. For example, bin("12") returns "1100".
+ *
+ * @group math_funcs
+ * @since 1.4.0
+ */
+ def bin(e: Column): Column = Bin(e.expr)
+
+ /**
+ * An expression that returns the string representation of the binary
value of the given long
+ * column. For example, bin("12") returns "1100".
+ *
+ * @group math_funcs
+ * @since 1.4.0
--- End diff --
This should be 1.5.0
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]