Adar Dembo created KUDU-2845:
--------------------------------

             Summary: ksck's JSON output should escape binary strings (like 
partition keys)
                 Key: KUDU-2845
                 URL: https://issues.apache.org/jira/browse/KUDU-2845
             Project: Kudu
          Issue Type: Bug
          Components: ksck
    Affects Versions: 1.8.0
            Reporter: Adar Dembo


A Kudu user 
[reported|http://mail-archives.apache.org/mod_mbox/kudu-user/201906.mbox/%3CCAOHFFGSy_ch2T2pi81%3Dg2CbeJ7qqW_WYCSTFReqWzZmKQ054nA%40mail.gmail.com%3E]
 ksck output that could not be deserialized as valid UTF-8. We should escape 
output like this so that it's always parseable.

We should also look at other places where we have JSON input/output and make 
sure we always produce valid UTF-8.

Note that there may be backwards incompatibilities to consider. From Todd:
{quote}
Fixing this is a little bit incompatible, but for something like partition
keys I think we probably should do it anyway and release note it,
considering partition keys are quite likely to be invalid UTF8.
{quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to