Re: Dataframe's .drop in PySpark doesn't accept Column

2015-05-31 Thread Olivier Girardot
I understand the rational, but when you need to reference, for example when using a join, some column which name is not unique, it can be confusing in terms of API. However I figured out that you can use a qualified name for the column using the *other-dataframe.column_name* syntax, maybe we just

Re: Catalyst: Reusing already computed expressions within a projection

2015-05-31 Thread Justin Uang
Thanks for pointing to that link! It looks like it’s useful, but it does look more complicated than the case I’m trying to address. In my case, we set y = f(x), then we use y later on in future projections (z = g(y)). In that case, the analysis is trivial in that we aren’t trying to find

Re: Catalyst: Reusing already computed expressions within a projection

2015-05-31 Thread Reynold Xin
I think Michael's bringing up code gen because the compiler (not Spark, but javac and JVM JIT) already does common subexpression elimination, so we might get it for free during code gen. On Sun, May 31, 2015 at 11:48 AM, Justin Uang justin.u...@gmail.com wrote: Thanks for pointing to that

Re: [VOTE] Release Apache Spark 1.4.0 (RC3)

2015-05-31 Thread Sandy Ryza
+1 (non-binding) Launched against a pseudo-distributed YARN cluster running Hadoop 2.6.0 and ran some jobs. -Sandy On Sat, May 30, 2015 at 3:44 PM, Krishna Sankar ksanka...@gmail.com wrote: +1 (non-binding, of course) 1. Compiled OSX 10.10 (Yosemite) OK Total time: 17:07 min mvn clean