Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5449

Fix initcap function to convert upper case characters correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.10.0
    • None
    • Functions - Drill
    • None

    Description

      Initcap function converts incorrectly subsequent upper case characters after first character.

      0: jdbc:drill:zk=local> select initcap('AAA') from (values(1));
      +---------+
      | EXPR$0  |
      +---------+
      | A!!     |
      +---------+
      1 row selected (0.27 seconds)
      

      Attachments

        Issue Links

          Activity

            People

              arina Arina Ielchiieva
              arina Arina Ielchiieva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: