benibus commented on code in PR #34537:
URL: https://github.com/apache/arrow/pull/34537#discussion_r1142808633
##########
cpp/src/arrow/type.cc:
##########
@@ -1159,6 +1161,20 @@ struct FieldPathGetImpl {
});
}
+ static Result<std::shared_ptr<ChunkedArray>> Get(const FieldPath* path,
+ const ChunkedArrayVector&
table) {
+ return FieldPathGetImpl::Get(
+ path, &table,
+ [](const std::shared_ptr<ChunkedArray>& data) -> const
ChunkedArrayVector * {
+ auto chunkedArrayVector = data->Flatten();
+ if (!chunkedArrayVector.ok()) {
+ return nullptr;
+ }
Review Comment:
See: https://github.com/apache/arrow/pull/34537#discussion_r1142695227
--
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]