alamb commented on code in PR #20077:
URL: https://github.com/apache/datafusion/pull/20077#discussion_r2748197851
##########
datafusion/physical-expr-common/src/binary_view_map.rs:
##########
@@ -437,7 +437,7 @@ where
let views_size = self.views.len() * size_of::<u128>();
let in_progress_size = self.in_progress.capacity();
let completed_size: usize = self.completed.iter().map(|b|
b.len()).sum();
- let nulls_size = self.nulls.len() / 8;
+ let nulls_size = self.nulls.allocated_size() / 8;
Review Comment:
The code still appears to divide by 8 🤔
--
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]