Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2354

use like expression in SELECT query. It works well when I put Chinese characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.5.0
    • None
    • None
    • Phoenix on Hbase

    Description

      When I use like expression in SELECT query. It works well when I put Chinese characters in
      LIKE expression on NONE PRIMARY KEY columns . BUT when I put them in LIKE expression on PRIMARY
      KEY , it occurs an Exception:‍

      select * from "test3" where PK like '手机%'; ‍

      org.apache.phoenix.schema.IllegalDataException: CHAR types may only contain single byte characters
      (手机) ‍

      Attachments

        Activity

          People

            Unassigned Unassigned
            tzpBingo tzpBingo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: