You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/09/20 16:06:11 UTC

[GitHub] [spark] MichaelChirico commented on a change in pull request #29813: [SPARK-32799][R][SQL] Add allowMissingColumns to SparkR unionByName

MichaelChirico commented on a change in pull request #29813:
URL: https://github.com/apache/spark/pull/29813#discussion_r491705832



##########
File path: R/pkg/R/DataFrame.R
##########
@@ -2863,11 +2863,19 @@ setMethod("unionAll",
 #' \code{UNION ALL} and \code{UNION DISTINCT} in SQL as column positions are not taken
 #' into account. Input SparkDataFrames can have different data types in the schema.
 #'
+#' When the parameter `allowMissingColumns` is `TRUE`, this function allows

Review comment:
       Grammar revision:
   
   > When the parameter `allowMissingColumns` is `TRUE`, the set of column names in `x` and `y` can differ; missing columns will be filled as null. Further, the missing columns of `x` will be added at the end in the schema of the union result.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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