This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Tuesday, 18 October 2022
Hive: sqrt(n): Return square root of a number
Signature
sqrt(n)
hive> SELECT sqrt(16);
OK
_c0
4.0
Time taken: 0.045 seconds, Fetched: 1 row(s)
hive> SELECT sqrt(16.25);
OK
_c0
4.031128874149275
Time taken: 0.038 seconds, Fetched: 1 row(s)
No comments:
Post a Comment