Saturday 8 October 2022

Hive: pow: Return the power of a number

Signature

pow(m, n)

 

Return m to the power n.

hive> SELECT pow(10, 2);
OK
_c0
100.0
Time taken: 0.05 seconds, Fetched: 1 row(s)
hive> ;
hive> SELECT pow(10, 5);
OK
_c0
100000.0
Time taken: 0.039 seconds, Fetched: 1 row(s)

  

Previous                                                    Next                                                    Home

No comments:

Post a Comment