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

CQLSH unicode control character list is too liberal

    XMLWordPrintableJSON

Details

    Description

      It appears that the list of escaped unicode control characters here is a bit too liberal. It seems to include characters such as '1' (0x31) and '0' (0x30) which do not need to be escaped. It seems that the actual range should be 0x00 - 0x1F and 0x7F+ as corroborated by this page.

       

      This causes unnecessary escaping and regex substitutions on the CQLSH end whenever common characters such as any punctuation or a 0 or a 1 appear in the text column of a table. One might notice that a table with a text column filled with 2's will take much less time to print than one with all 0's for this reason.

      Attachments

        Issue Links

          Activity

            People

              tanujnay Tanuj Nayak
              tanujnay Tanuj Nayak
              Tanuj Nayak
              Berenguer Blasi, Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 10m
                  10m