Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8745

Impala Doc: Fix description of Impala function initcap() in docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.3.0
    • Docs
    • None
    • ghx-label-4

    Description

      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"

      Attachments

        Activity

          People

            arodoni Alexandra Rodoni
            arodoni Alexandra Rodoni
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: