Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16429

Fix incorrect encoding for strings can be UTF8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-rc1, 4.0
    • CQL/Interpreter
    • None

    Description

      Tables created with Japanese character name columns are working well in C* 3.11.10 when doing a SELECT * in cqlsh but will show as garbled (shown as "?") in 4.0-beta4. DESCRIBE shows the column names correctly in both cases.

      Run the attached jptest.cql script in both envs with cqlsh -f. They will yield different results.

      My test env (MacOS 10.15.7):

      C* 3.11.10 with

      • OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
      • Python 2.7.16

      C* 4.0-beta4

      • OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
      • Python 3.8.2

      Attachments

        1. jptest.cql
          0.3 kB
          Yoshi Kimoto

        Issue Links

          Activity

            People

              yifanc Yifan Cai
              ykimoto Yoshi Kimoto
              Yifan Cai
              Ekaterina Dimitrova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h