This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)
Friday, 30 September 2022
Hive: negative: Negate the number
Signature
negative(n)
Return -n.
hive> SELECT negative(-10);
OK
_c0
10
Time taken: 0.053 seconds, Fetched: 1 row(s)
hive> ;
hive> ;
hive> SELECT negative(10);
OK
_c0
-10
Time taken: 0.039 seconds, Fetched: 1 row(s)
No comments:
Post a Comment