Can you attach the full stack trace? Thanks,
Yin On Fri, May 8, 2015 at 4:44 PM, barmaley <o...@solver.com> 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 code in a standalone app on a cluster, > it throws an exception: "java.util.NoSuchElementException: key not found: > STDDEV"... > > Is STDDEV ia among default functions in Spark SQL? I'd appreciate if you > could comment what's going on with the above. > > Thanks > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-STDDEV-working-in-Spark-Shell-but-not-in-a-standalone-app-tp22825.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >