RE: Spark SQL: STDDEV working in Spark Shell but not in a standalone app

2015-05-12 Thread Oleg Shirokikh
OK, understood. Thanks, Michael. From: Michael Armbrust [mailto:mich...@databricks.com] Sent: Monday, May 11, 2015 4:37 PM To: Oleg Shirokikh Cc: user Subject: Re: Spark SQL: STDDEV working in Spark Shell but not in a standalone app I doubt that will make it as we are pretty slammed with other

Re: Spark SQL: STDDEV working in Spark Shell but not in a standalone app

2015-05-11 Thread Michael Armbrust
ed)… > Thanks! > > > > *From:* Michael Armbrust [mailto:mich...@databricks.com] > *Sent:* Saturday, May 09, 2015 11:32 AM > *To:* Oleg Shirokikh > *Cc:* user > *Subject:* Re: Spark SQL: STDDEV working in Spark Shell but not in a > standalone app > > > > Are you perha

RE: Spark SQL: STDDEV working in Spark Shell but not in a standalone app

2015-05-11 Thread Oleg Shirokikh
: Spark SQL: STDDEV working in Spark Shell but not in a standalone app Are you perhaps using a HiveContext in the shell but a SQLContext in your app? I don't think we natively implement stddev until 1.4.0 On Fri, May 8, 2015 at 4:44 PM, barmaley mailto:o...@solver.com>> wrote: Given a

Re: Spark SQL: STDDEV working in Spark Shell but not in a standalone app

2015-05-09 Thread Michael Armbrust
Are you perhaps using a HiveContext in the shell but a SQLContext in your app? I don't think we natively implement stddev until 1.4.0 On Fri, May 8, 2015 at 4:44 PM, barmaley wrote: > Given a registered table from data frame, I'm able to execute queries like > sqlContext.sql("SELECT STDDEV(col1

Re: Spark SQL: STDDEV working in Spark Shell but not in a standalone app

2015-05-08 Thread Yin Huai
Can you attach the full stack trace? Thanks, Yin On Fri, May 8, 2015 at 4:44 PM, barmaley wrote: > Given a registered table from data frame, I'm able to execute queries like > sqlContext.sql("SELECT STDDEV(col1) FROM table") from Spark Shell just > fine. > However, when I run exactly the same