@@ -271,7 +271,7 @@ setMethod("show", "SparkDataFrame",
271271 paste(l , collapse = " :" )
272272 })
273273 s <- paste(cols , collapse = " , " )
274- cat(paste (class(object ), " [" , s , " ]\n " , sep = " " ))
274+ cat(paste0 (class(object ), " [" , s , " ]\n " ))
275275 }
276276 })
277277
@@ -2755,10 +2755,10 @@ setMethod("merge",
27552755 colY <- joinY [[i ]]
27562756
27572757 if (colX %in% by ) {
2758- colX <- paste (colX , suffixes [1 ], sep = " " )
2758+ colX <- paste0 (colX , suffixes [1 ])
27592759 }
27602760 if (colY %in% by ) {
2761- colY <- paste (colY , suffixes [2 ], sep = " " )
2761+ colY <- paste0 (colY , suffixes [2 ])
27622762 }
27632763
27642764 colX <- getColumn(xsel , colX )
@@ -2773,7 +2773,7 @@ setMethod("merge",
27732773
27742774 # sorts the result by 'by' columns if sort = TRUE
27752775 if (sort && length(by ) > 0 ) {
2776- colNameWithSuffix <- paste (by , suffixes [2 ], sep = " " )
2776+ colNameWithSuffix <- paste0 (by , suffixes [2 ])
27772777 joinRes <- do.call(" arrange" , c(joinRes , colNameWithSuffix , decreasing = FALSE ))
27782778 }
27792779
@@ -2796,7 +2796,7 @@ genAliasesForIntersectedCols <- function(x, intersectedColNames, suffix) {
27962796 cols <- lapply(allColNames , function (colName ) {
27972797 col <- getColumn(x , colName )
27982798 if (colName %in% intersectedColNames ) {
2799- newJoin <- paste (colName , suffix , sep = " " )
2799+ newJoin <- paste0 (colName , suffix )
28002800 if (newJoin %in% allColNames ) {
28012801 stop(" The following column name: " , newJoin , " occurs more than once in the 'DataFrame'." ,
28022802 " Please use different suffixes for the intersected columns." )
0 commit comments