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&
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>
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])
:
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
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
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
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:
>>>
>>
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