RE: SparkR read.df Option type doesn't match

2015-11-27 Thread Felix Cheung
arkR read.df Option type doesn't match > > I found the answer myself. > options should be added like: > read.df(sqlContext,path=NULL,source="***",option1="",option2="" ) > > > > > > -- > View this message in context: > http://apach

RE: SparkR read.df Option type doesn't match

2015-11-27 Thread liushiqi9
There is a bug at this page in the examples I have file it in the JIRA It's SPARK-12019. I don't know how to change the page. But I think an example that shows how to write options would be great. Like sc <- sparkR.init(master="yarn-client",appName= "SparkR", sparkHome = "/home/spark",

Re: SparkR read.df Option type doesn't match

2015-11-26 Thread liushiqi9
I found the answer myself. options should be added like: read.df(sqlContext,path=NULL,source="***",option1="",option2="" ) -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/SparkR-read-df-Option-type-doesn-t-match-tp15365p15370.html Sent from the