improve the encodingRawKeyColumns() to remove the listbuffer