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

translate() string function only works with ascii characters.

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: Impala 3.2.0
    • Component/s: None
    • Labels:
      None
    • Epic Color:
      ghx-label-4

      Description

      The query

      SELECT translate('Gánémílózú', 'áéíóú', 'aeiou') ;

      returns "Gaenaomalaza" instead of the desired  "Ganemilozu".

      It seems that translate treats strings as 8 bit characters. So it only works with ascii.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                asherman Andrew Sherman
                Reporter:
                asherman Andrew Sherman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: