wjones127 commented on a change in pull request #11956:
URL: https://github.com/apache/arrow/pull/11956#discussion_r773375793
##########
File path: r/R/array.R
##########
@@ -328,3 +328,17 @@ is.Array <- function(x, type = NULL) { # nolint
}
is_it
}
+
+#' @rdname array
+#' @usage NULL
+#' @format NULL
+#' @export
+MapArray <- R6Class("MapArray",
+ inherit = ListArray,
+ public = list(
+ keys = function() MapArray__keys(self),
+ items = function() MapArray__items(self),
+ keys_nested = function() MapArray__keys_nested(self),
+ items_nested = function() MapArray__items_nested(self)
Review comment:
These methods don't exist in other implementations, but I thought they
would be useful to R users.
--
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]