explain codegen

2016-04-03 Thread Ted Yu
Hi, Based on master branch refreshed today, I issued 'git clean -fdx' first. Then this command: build/mvn clean -Phive -Phive-thriftserver -Pyarn -Phadoop-2.6 -Dhadoop.version=2.7.0 package -DskipTests I got the following error: scala> sql("explain codegen select 'a&

Re: explain codegen

2016-04-03 Thread Jacek Laskowski
oday, I issued 'git clean -fdx' first. > > Then this command: > build/mvn clean -Phive -Phive-thriftserver -Pyarn -Phadoop-2.6 > -Dhadoop.version=2.7.0 package -DskipTests > > I got the following error: > > scala>

Re: explain codegen

2016-04-03 Thread Reynold Xin
Works for me on latest master. scala> sql("explain codegen select 'a' as a group by 1").head res3: org.apache.spark.sql.Row = [Found 2 WholeStageCodegen subtrees. == Subtree 1 / 2 == WholeStageCodegen : +- TungstenAggregate(key=[], functions=[], output=[a#10]) :

Re: explain codegen

2016-04-04 Thread Ted Yu
Could the error I encountered be due to missing import(s) of implicit ? Thanks On Sun, Apr 3, 2016 at 9:42 PM, Reynold Xin wrote: > Works for me on latest master. > > > > scala> sql("explain codegen select 'a' as a group by 1").head > re

Re: explain codegen

2016-04-04 Thread Herman van Hövell tot Westerflier
ote: > >> Works for me on latest master. >> >> >> >> scala> sql("explain codegen select 'a' as a group by 1").head >> res3: org.apache.spark.sql.Row = >> [Found 2 WholeStageCodegen subtrees. >> == Subtree 1 / 2 == >> WholeStag

Re: explain codegen

2016-04-04 Thread Ted Yu
gards, > > Herman van Hövell > > 2016-04-04 12:15 GMT+02:00 Ted Yu : > >> Could the error I encountered be due to missing import(s) of implicit ? >> >> Thanks >> >> On Sun, Apr 3, 2016 at 9:42 PM, Reynold Xin wrote: >> >>> Works fo

Re: explain codegen

2016-04-04 Thread Reynold Xin
016-04-04 12:15 GMT+02:00 Ted Yu > >: >> >>> Could the error I encountered be due to missing import(s) of implicit ? >>> >>> Thanks >>> >>> On Sun, Apr 3, 2016 at 9:42 PM, Reynold Xin >> > wrote: >>> >>

Re: explain codegen

2016-04-04 Thread Ted Yu
Thanks to all who have responded. It turned out that the following command line for maven caused the error (I forgot to include this in first email): eclipse:eclipse Once I omitted the above, 'explain codegen' works. On Mon, Apr 4, 2016 at 9:37 AM, Reynold Xin wrote: > Why d