[
https://issues.apache.org/jira/browse/SPARK-14402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-14402:
------------------------------------
Assignee: Dongjoon Hyun (was: Apache Spark)
> 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: [email protected]
For additional commands, e-mail: [email protected]