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

Reply via email to