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....:)
Monday, 28 November 2022
Hive: ascii: Get the ascii value of first character in a string
Signature
ascii(string str)
Convert
the String first character to numeric ASCII value.
hive> SELECTascii('ABC');
OK
_c0
65
Time taken: 0.039 seconds, Fetched: 1 row(s)
No comments:
Post a Comment