Github user mn-mikke commented on a diff in the pull request:
https://github.com/apache/spark/pull/20858#discussion_r178759909
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -3046,6 +3036,16 @@ object functions {
ArrayContains(column.expr, Literal(value))
}
+ /**
+ * Concatenates multiple input columns together into a single column.
+ * The function works with strings, binary columns and arrays of the
same time.
+ *
+ * @group collection_funcs
+ * @since 1.5.0
+ */
+ @scala.annotation.varargs
+ def concat(exprs: Column*): Column = withExpr {
UnresolvedConcat(exprs.map(_.expr)) }
--- End diff --
@gatorsmile, @HyukjinKwon What is your view on this?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]