spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 1esha <alexey.romanc...@gmail.com>
Subject Mathematical functions in spark sql
Date Tue, 27 Jan 2015 04:29:40 GMT
Hello everyone! 

I try execute "select 2/3" and I get "0.6666666666666666". Is there any way
to cast double to int or something similar?

Also it will be cool to get list of functions supported by spark sql. 

Thanks!



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Mathematical-functions-in-spark-sql-tp21383.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message