LuciferYang commented on code in PR #46045:
URL: https://github.com/apache/spark/pull/46045#discussion_r1566755414
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -4197,6 +4197,20 @@ object functions {
*/
def split(str: Column, pattern: String): Column = Column.fn("split", str,
lit(pattern))
+ /**
+ * Splits str around matches of the given pattern.
+ *
+ * @param str
+ * a string expression to split
+ * @param pattern
+ * a column of string representing a regular expression. The regex string
should be a Java
+ * regular expression.
+ *
+ * @group string_funcs
+ * @since 4.0.0
+ */
+ def split(str: Column, pattern: Column): Column = Column.fn("split", str,
pattern)
Review Comment:
Let's add some new test cases for the connect module in
`PlanGenerationTestSuite`.
--
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]