zenoyang commented on PR #9586:
URL: https://github.com/apache/incubator-doris/pull/9586#issuecomment-1128838056

   > > 
   > 
   > Thanks for your great work.
   > 
   > Could you explain more in detail? Where the read happen in the code?
   
   The read code is in the `FileColumnIterator::next_batch(size_t* n, 
vectorized::MutableColumnPtr& dst, bool* has_null)` method. When `null` is read 
from the page, `dst->insert_data(nullptr, 0);` is called (the `insert_default` 
method of ColumnDict will be called).
   If non-null, call `_page.data_decoder->next_batch();` (will call the 
`insert_many_dict_data` method of ColumnDict, the dictionary will be built on 
the first call)


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