Wayne Zhang created SPARK-19452: ----------------------------------- Summary: Fix bug in the name assignment method in SparkR Key: SPARK-19452 URL: https://issues.apache.org/jira/browse/SPARK-19452 Project: Spark Issue Type: Bug Components: SparkR Affects Versions: 2.1.0, 2.2.0 Reporter: Wayne Zhang
The names method fails to check for validity of the assignment values. This can be fixed by calling colnames within names. See example below. {code} df <- suppressWarnings(createDataFrame(iris)) # this is error colnames(df) <- NULL # this should report error names(df) <- NULL {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org