aucahuasi commented on a change in pull request #11159:
URL: https://github.com/apache/arrow/pull/11159#discussion_r711180126
##########
File path: cpp/src/arrow/compute/kernels/scalar_nested.cc
##########
@@ -165,6 +216,16 @@ void RegisterScalarNested(FunctionRegistry* registry) {
ListValueLength<LargeListType>));
DCHECK_OK(registry->AddFunction(std::move(list_value_length)));
+ auto list_element = std::make_shared<ScalarFunction>("list_element",
Arity::Binary(),
+ &list_element_doc);
+ AddListElement<ListType, Int32Type>(list_element.get());
+ AddListElement<ListType, Int64Type>(list_element.get());
Review comment:
@edponce I think now we have full support for any integral type for the
index, I'll push my changes later, 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]