cloud-fan commented on code in PR #46880:
URL: https://github.com/apache/spark/pull/46880#discussion_r1741321684
##########
sql/api/src/main/scala/org/apache/spark/sql/functions.scala:
##########
@@ -4263,6 +4263,14 @@ object functions {
def sentences(string: Column, language: Column, country: Column): Column =
Column.fn("sentences", string, language, country)
+ /**
+ * Splits a string into arrays of sentences, where each sentence is an array
of words.
+ * @group string_funcs
+ * @since 4.0.0
+ */
+ def sentences(string: Column, language: Column): Column =
Review Comment:
This LGTM
--
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]