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

    https://github.com/apache/carbondata/pull/2379#discussion_r196634217
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/datastore/page/encoding/EncodingFactory.java
 ---
    @@ -71,7 +72,7 @@ public ColumnPageDecoder createDecoder(List<Encoding> 
encodings, List<ByteBuffer
         byte[] encoderMeta = encoderMetas.get(0).array();
         ByteArrayInputStream stream = new ByteArrayInputStream(encoderMeta);
         DataInputStream in = new DataInputStream(stream);
    -    if (encoding == DIRECT_COMPRESS) {
    +    if (encoding == DIRECT_COMPRESS || encoding == 
DIRECT_COMPRESS_VARCHAR) {
    --- End diff --
    
    `DIRECT_COMPRESS_VARCHAR` is a special encoding to distinguish normal 
string and long string. It is used in CompressedDimensionChunkFileBasedReaderV3 
to indicate the DimensionStoreType.


---

Reply via email to