Saturday, 8 October 2022

Hive: positive: Return positive number

Signature

positive(n)

This method return n.

hive> select positive(10);
OK
_c0
10
Time taken: 0.053 seconds, Fetched: 1 row(s)
hive> ;
hive> ;
hive> select positive(-10);
OK
_c0
-10
Time taken: 0.039 seconds, Fetched: 1 row(s)

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment