[ https://issues.apache.org/jira/browse/SPARK-10903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964525#comment-14964525 ]
Sun Rui commented on SPARK-10903: --------------------------------- That's strange. It worked on my machine. > createDataFrame(iris) DataFrame[Sepal_Length:double, Sepal_Width:double, Petal_Length:double, Petal_Width:double, Species:string] Warning messages: 1: In FUN(X[[5L]], ...) : Use Sepal_Length instead of Sepal.Length as column name 2: In FUN(X[[5L]], ...) : Use Sepal_Width instead of Sepal.Width as column name 3: In FUN(X[[5L]], ...) : Use Petal_Length instead of Petal.Length as column name 4: In FUN(X[[5L]], ...) : Use Petal_Width instead of Petal.Width as column name > Make sqlContext global > ----------------------- > > Key: SPARK-10903 > URL: https://issues.apache.org/jira/browse/SPARK-10903 > Project: Spark > Issue Type: Sub-task > Components: SparkR > Reporter: Narine Kokhlikyan > Priority: Minor > > Make sqlContext global so that we don't have to always specify it. > e.g. createDataFrame(iris) instead of createDataFrame(sqlContext, iris) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org