Github user xuchuanyin commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2872#discussion_r228901408
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/compression/ZstdCompressor.java
 ---
    @@ -167,4 +167,12 @@ public long maxCompressedLength(long inputSize) {
       public boolean supportUnsafe() {
         return false;
       }
    +
    +  @Override public int uncompressedLength(byte[] data, int offset, int 
length) {
    --- End diff --
    
    Why this is unsupported since this is supported in Zstd
    ```
        /**
         * Return the original size of a compressed buffer (if known)
         *
         * @param src the compressed buffer
         * @return the number of bytes of the original buffer
         *         0 if the original size is now known
         */
        public static native long decompressedSize(byte[] src);
    ```
    
    
    



---

Reply via email to