Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15110

Calcite bug. Function CHAR_LENGTH works incorrect with UNICODE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

       Function CHAR_LENGTH returns an incorrect results for unicode symbols. E.g for below query returns 2 instead of 1

      SELECT char_length('🦆')

       see src/test/sql/function/string/test_char_length.test_ignore

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jooger Iurii Gerzhedovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: