Apache Pig ABS FunctionThe Apache Pig ABS function is used to return the absolute value of an expression. If the result is negative, the negation of the result is returned. SyntaxExample of ABS FunctionIn this example, we return the absolute value. Steps to execute ABS Function
Here, we got the desired output.
Next TopicCBRT Function
|