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

Upper and lower casing doesn't work correctly on non-ASCII characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Functions - Drill
    • None

    Description

      0: jdbc:drill:zk=local> select z, lower(z), upper(z) from dfs.root.`/Users/tdunning/tmp/data.json`;
      +------+---------+---------+
      |  z   | EXPR$1  | EXPR$2  |
      +------+---------+---------+
      | åäö  | åäö     | åäö     |
      | aBc  | abc     | ABC     |
      +------+---------+---------+
      

      Expected result would be

      +------+---------+---------+
      |  z   | EXPR$1  | EXPR$2  |
      +------+---------+---------+
      | åäö  | åäö     | ÅÄÖ     |
      | aBc  | abc     | ABC     |
      +------+---------+---------+
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tdunning Ted Dunning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: