Github user felixcheung commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21649#discussion_r199313334
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -3905,6 +3905,18 @@ setMethod("rollup",
                 groupedData(sgd)
               })
     
    +isTypeAllowed <- function(x) {
    +  if (is.character(x)) {
    +    TRUE
    +  } else if (is.list(x)) {
    --- End diff --
    
    I'd actually prefer to be more restrictive.. maybe just one level, unless 
we know of a real need for nested list?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to