morningman opened a new pull request #7939:
URL: https://github.com/apache/incubator-doris/pull/7939


   # Proposed changes
   
   Issue Number: close #xxx
   
   ## Problem Summary:
   
   This PR mainly changes:
   
   1. Change the define of PBlock
   
       The new PBlock consists of a set of PColumnMeta and a binary buffer.
       The PColumnMeta records the metadata information of all columns in the 
Block,
       while the buffer stores the serialized binary data of all columns.
       
   2. Refactor the serialize/deserizlie method of data type
   
       Rewrite the `serialize()/deserialize()` of IDataType. And also add
       a new method `get_uncompressed_serialized_bytes()` to get the total 
length
       of uncompressed serialized data of a column.
       
   3. Rewrite the serialize/deserizlie method of Block
   
       Now, when serializing a Block to PBlock, it will first get the total 
length
       of uncompressed serialized data of all columns in this Block, and then 
allocate
       the memory to write the serialized data to the buffer.
       
   4. Use brpc attachment to transmit the serialized column data
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes)
       The way of transmitting serialized block has been changed 
   2. Has unit tests been added: (Yes)
   3. Has document been added or modified: (No Need)
   4. Does it need to update dependencies: (No)
   5. Are there any changes that cannot be rolled back: (Yes)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to