zenoyang commented on pull request #8737:
URL: https://github.com/apache/incubator-doris/pull/8737#issuecomment-1082596377


   > > If the last data_page is DICT_ENCODING, it means that all data_pages are 
DICT_ENCODING.
   > > why?
   
   "all pages" refers to all pages in a column.
   Because the DICT encoding is used preferentially when the string column is 
written, that is, the data_page is all DICT encoding at the beginning. When the 
dict_page is full, all subsequent data_pages are PLAIN encoding, and these 
pages are written to the disk in the order of generation. Therefore, when 
querying, if the last data_page is DICT encoding, it indicates that there is no 
PLAIN encoded data_page.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to