[ https://issues.apache.org/jira/browse/SPARK-14402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-14402. -------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Issue resolved by pull request 12175 [https://github.com/apache/spark/pull/12175] > initcap UDF doesn't match Hive/Oracle behavior in lowercasing rest of string > ---------------------------------------------------------------------------- > > Key: SPARK-14402 > URL: https://issues.apache.org/jira/browse/SPARK-14402 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Dongjoon Hyun > Assignee: Dongjoon Hyun > Priority: Minor > Labels: releasenotes > Fix For: 2.0.0 > > > Current, SparkSQL `initCap` is using `toTitleCase` function. However, > `UTF8String.toTitleCase` implementation changes only the first letter and > just copy the other letters: e.g. *sParK* --> *SParK*. (This is the correct > expected implementation of `toTitleCase`.) > So, The main goal of this issue provides the correct `initCap`. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org