Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/6872#discussion_r34862483
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -67,6 +67,24 @@ object functions {
def column(colName: String): Column = Column(colName)
/**
+ * Convert a number from one base to another for the specified
expressions
+ *
+ * @group math_funcs
+ * @since 1.5.0
+ */
+ def conv(num: Column, fromBase: Column, toBase: Column): Column =
+ Conv(num.expr, fromBase.expr, toBase.expr )
+
+ /**
+ * Convert a number from one base to another for the specified
expressions
+ *
+ * @group math_funcs
+ * @since 1.5.0
+ */
+ def conv(num: String, fromBase: String, toBase: String): Column =
--- End diff --
yes i agree. i think we can always use real value here
---
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]