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 <r...@databricks.com>

Re: explain codegen

2016-04-04 Thread Reynold Xin
>>> >>> Thanks >>> >>> On Sun, Apr 3, 2016 at 9:42 PM, Reynold Xin <r...@databricks.com >>> <javascript:_e(%7B%7D,'cvml','r...@databricks.com');>> wrote: >>> >>>> Works for me on latest master. >>>> >>

Re: explain codegen

2016-04-04 Thread Ted Yu
; > Herman van Hövell > > 2016-04-04 12:15 GMT+02:00 Ted Yu <yuzhih...@gmail.com>: > >> 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 <r...@databricks.com> w

Re: explain codegen

2016-04-04 Thread Herman van Hövell tot Westerflier
42 PM, Reynold Xin <r...@databricks.com> wrote: > >> 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. >

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 <r...@databricks.com> wrote: > Works for me on latest master. > > > > scala> sql("explain codegen select 'a' as a group by 1").hea

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]) : +- INPU

Re: explain codegen

2016-04-03 Thread Jacek Laskowski
n 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> sq

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' as a group by