Alex Rodoni created IMPALA-8745:
-----------------------------------

             Summary: Impala Doc: Fix description of Impala function initcap() 
in docs
                 Key: IMPALA-8745
                 URL: https://issues.apache.org/jira/browse/IMPALA-8745
             Project: IMPALA
          Issue Type: Bug
          Components: Docs
            Reporter: Alex Rodoni
            Assignee: Alex Rodoni


The docs for the Impala function initcap() state:

Purpose: Returns the input string with the first letter capitalized.

But what this function actually does is: Returns the input string with the 
first letter of every word capitalized and every other letter lowercase. This 
sentence in the docs should be corrected to reflect this.

To confirm that Impala's behavior is as I describe, run a simple Impala query 
like:

SELECT initcap("i gOt mY HorSeS in tHe bacK");

The result will be:

"I Got My Horses In The Back"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to