felipecrv commented on code in PR #42067:
URL: https://github.com/apache/arrow/pull/42067#discussion_r1636595460


##########
cpp/src/arrow/compute/kernels/scalar_nested.cc:
##########
@@ -196,6 +196,9 @@ struct ListSlice {
     constexpr auto kInputTypeId = InListType::type_id;
     auto output_type = output_type_holder.GetSharedPtr();
     switch (output_type->id()) {
+      // The various `if constexpr` guards below avoid generating
+      // ListSlice<InListType>::BuildArray<ListBuilder> specializations
+      // that will never be invoked at runtime.

Review Comment:
   Thanks!



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

Reply via email to