+1 I found the mix of ascii/hex very painful when I need to compare two binary keys/values
On Tue, Apr 14, 2015 at 6:16 AM, Dave Latham <[email protected]> wrote: > Wish I had started this conversation 5 years ago... > > When we're using binary data, especially in row keys (and therefore > region boundaries) the output created by toStringBinary is very > painful to use: > - mix of ascii / hex representation is trouble > - it's quite long (4 characters per binary byte) > - it mixes in punctuation characters (quotes are not good when > pasting in to shell commands) > > Does this bother anyone else? Is it too late to do anything about it > due to compatibility fears? > > Can we change to something that is always binary e.g. hex? > 0x746f537472696e6742696e617279206d616b657320636c75737465727320637279 > > Or if we have to auto-detect, only use ascii if the entire string is ascii? > > Dave > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
