edponce commented on a change in pull request #11127:
URL: https://github.com/apache/arrow/pull/11127#discussion_r705875814
##########
File path: cpp/src/arrow/compute/kernels/vector_nested.cc
##########
@@ -76,6 +76,24 @@ struct ListParentIndicesArray {
Status Visit(const LargeListType& type) { return VisitList(type); }
+ Status Visit(const FixedSizeListType& type) {
+ const int32_t slot_length = type.list_size();
+ const int64_t values_length = slot_length * (input->length -
input->GetNullCount());
Review comment:
Does `GetNullCount` guarantees the true number of nulls? After doing a
grep in repo, `SetNullCount` is used scarcely as well as updates to
`null_count` data member. I am just a bit confused on how the null count is
updated.
--
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]