nealrichardson commented on a change in pull request #11373: URL: https://github.com/apache/arrow/pull/11373#discussion_r727322150
########## File path: r/R/dataset-scan.R ########## @@ -143,6 +139,26 @@ Scanner$create <- function(dataset, #' @export names.Scanner <- function(x) names(x$schema) +#' @export +head.Scanner <- function(x, n = 6L, ...) { + assert_that(n > 0) # For now + dataset___Scanner__head(x, n) +} + +#' @export +tail.Scanner <- function(x, n = 6L, ...) { + assert_that(n > 0) # For now Review comment: It's not a new limitation, it's been there as long as head/tail have been supported (version 2.0.0, one year ago), hasn't come up yet (at least on jira, to my knowledge) 🤷 -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org