hive函数 -- abs

abs(x)

abs(x) - returns the absolute value of x

返回x的绝对值。

实例 :

abs(10)=10

abs(-10)=10

你可能感兴趣的:(hive函数 -- abs)