Tuesday, 27 September 2022

Hive: log10: Return base 10 logarithm of a number

Signature

log10(n)

 

hive> SELECT log10(100);
OK
_c0
2.0
Time taken: 0.045 seconds, Fetched: 1 row(s)
hive> SELECT log10(1000);
OK
_c0
3.0
Time taken: 0.04 seconds, Fetched: 1 row(s)

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment