core/src/main/java/org/apache/carbondata/core/indexstore/BlockletDetailInfo.java
/**
   * Read column schema from binary
   * @param schemaArray
   * @throws IOException
   */
Read column schema from binary
@param schemaArray
@throws IOException
Read column schema from binary @param schemaArray @throws IOException
public void readColumnSchema(byte[] schemaArray) throws IOException {
    schemaArray = Snappy.uncompress(schemaArray);
    ByteArrayInputStream schemaStream = new ByteArrayInputStream(schemaArray);
    DataInput schemaInput = new DataInputStream(schemaStream);
    columnSchemas = new ArrayList<>();
    int size = schemaInput.readShort();
    for (int i = 0; i < size; i++) {
      ColumnSchema columnSchema = new ColumnSchema();
      columnSchema.readFields(schemaInput);
      columnSchemas.add(columnSchema);
    }
  }
public void readColumnSchema ( byte [ ] schemaArray ) throws IOException { schemaArray = Snappy . uncompress ( schemaArray ) ; ByteArrayInputStream schemaStream = new ByteArrayInputStream ( schemaArray ) ; DataInput schemaInput = new DataInputStream ( schemaStream ) ; columnSchemas = new ArrayList < > ( ) ; int size = schemaInput . readShort ( ) ; for ( int i = 0 ; i < size ; i ++ ) { ColumnSchema columnSchema = new ColumnSchema ( ) ; columnSchema . readFields ( schemaInput ) ; columnSchemas . add ( columnSchema ) ; } }
Read column schema from binary
 @param schemaArray
 @throws IOException
Read column schema from binary @param schemaArray @throws IOException
// uncompress it.