Skip to content

Commit

Permalink
Make sure capitalizeFully works with a space delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowers committed May 6, 2018
1 parent 5d847db commit 0ed548b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ object FunctionsTest
("Trump,donald"),
("clinton,Hillary"),
("Brack/obama"),
("george w./bush"),
("george w. bush"),
(null)
), List(
("some_string", StringType, true)
Expand All @@ -251,7 +251,7 @@ object FunctionsTest
"some_string_udf",
functions.capitalizeFully(
col("some_string"),
lit("/,")
lit("/, ")
)
).select("some_string_udf")

Expand All @@ -261,7 +261,7 @@ object FunctionsTest
("Trump,Donald"),
("Clinton,Hillary"),
("Brack/Obama"),
("George w./Bush"),
("George W. Bush"),
(null)
), List(
("some_string_udf", StringType, true)
Expand Down

0 comments on commit 0ed548b

Please sign in to comment.