You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/04/06 12:10:38 UTC

[GitHub] [incubator-doris] wangbo commented on issue #8835: [Bug] dict col convert to predicate column cause be core dump

wangbo commented on issue #8835:
URL: https://github.com/apache/incubator-doris/issues/8835#issuecomment-1090195504

   When A ColumnDict needs to be  converted to a normal Column, we need create a ```New Column```.
   The ```New Column``` needs to reserve memory.
   The ```New Column``` 's reserve size needs to keep same with ColumnDict's initial reserve size, instead of current ColumnDict's size.
   Otherwise, subsequent writes to the ```New Column``` will access the unallocated memory area


-- 
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-unsubscribe@doris.apache.org

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


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