Smallhi edited a comment on issue #1052: KYLIN-4326 KYLIN support ZSTD codec 
done!
URL: https://github.com/apache/kylin/pull/1052#issuecomment-607005489
 
 
   @shaofengshi  Thanks for your reply! 
   I plan to rewrite this feature and solve these problems:
   1. use third-party lib licenced under  Apache License v2.
   2. If we know the original size of bytes array, when we use zstd  or lz4 to 
decompress inputstream, we need't use try catch cluase to extend Bytebuffer 
size, which I think isn't efficient. so after we serialize bitmap  to 
BytesWritable , and write the long cardinality and int byte lenght at the head 
the byte array user the BytesWritable
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to