Description
returns the cube root of a double value
cbrt(double a) : double
For example:
select cbrt(87860583272930481.0); OK 444561.0
I noticed that Math.pow(a, 1.0/3.0) and hive power UDF return 444560.99999999965 for the example above.
However Math.cbrt returns 444561.0
This is why we should have hive cbrt function in hive
Attachments
Attachments
Issue Links
- links to