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)

  

Previous                                                    Next                                                    Home

No comments:

Post a Comment