Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[SparkR][Minor] Get rid of a long line warning
  • Loading branch information
yu-iskw committed Aug 19, 2015
commit b3ff9f009bf9454c2d49e792589d92da2382cdb5
4 changes: 3 additions & 1 deletion R/pkg/R/functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ createFunctions()
#' @return Creates a Column class of literal value.
setMethod("lit", signature("ANY"),
function(x) {
jc <- callJStatic("org.apache.spark.sql.functions", "lit", ifelse(class(x) == "Column", x@jc, x))
jc <- callJStatic("org.apache.spark.sql.functions",
"lit",
ifelse(class(x) == "Column", x@jc, x))
column(jc)
})

Expand Down