Re: Cannot run the example in the Spark 1.3.0 following the document

2015-04-03 Thread Sean Owen
(That one was already fixed last week, and so should be updated when the site updates for 1.3.1.) On Fri, Apr 3, 2015 at 4:59 AM, Michael Armbrust wrote: > Looks like a typo, try: > > df.select(df("name"), df("age") + 1) > > Or > > df.select("name", "age") > > PRs to fix docs are always appreciat

RE: Cannot run the example in the Spark 1.3.0 following the document

2015-04-02 Thread Michael Armbrust
the mention, the rest of examples related to "df" all works, just > this one caused problem. > > Thanks > > Yong > > -- > Date: Fri, 3 Apr 2015 10:36:45 +0800 > From: fightf...@163.com > To: java8...@hotmail.com; user@spark.apache.

RE: Cannot run the example in the Spark 1.3.0 following the document

2015-04-02 Thread java8964
ple in the Spark 1.3.0 following the document Hi, there you may need to add : import sqlContext.implicits._ Best,Sun fightf...@163.com From: java8964Date: 2015-04-03 10:15To: user@spark.apache.orgSubject: Cannot run the example in the Spark 1.3.0 following the document I tried to check out

Re: Cannot run the example in the Spark 1.3.0 following the document

2015-04-02 Thread fightf...@163.com
Hi, there you may need to add : import sqlContext.implicits._ Best, Sun fightf...@163.com From: java8964 Date: 2015-04-03 10:15 To: user@spark.apache.org Subject: Cannot run the example in the Spark 1.3.0 following the document I tried to check out what Spark SQL 1.3.0. I installed it

Cannot run the example in the Spark 1.3.0 following the document

2015-04-02 Thread java8964
I tried to check out what Spark SQL 1.3.0. I installed it and following the online document here: http://spark.apache.org/docs/latest/sql-programming-guide.html In the example, it shows something like this:// Select everybody, but increment the age by 1 df.select("name", df("age") + 1).show() //