You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Alex Rodoni (JIRA)" <ji...@apache.org> on 2019/07/08 20:58:00 UTC
[jira] [Created] (IMPALA-8745) Impala Doc: Fix description of
Impala function initcap() in docs
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)