[ https://issues.apache.org/jira/browse/SPARK-19452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852069#comment-15852069 ]
Apache Spark commented on SPARK-19452: -------------------------------------- User 'actuaryzhang' has created a pull request for this issue: https://github.com/apache/spark/pull/16794 > 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