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....:)
Saturday, 17 December 2022
Hive: repeat: Repeat the string n times
Signature
repeat(string
str, int n)
hive> SELECTrepeat('Hi', 5);
OK
_c0
HiHiHiHiHi
Time taken: 0.049 seconds, Fetched: 1 row(s)
No comments:
Post a Comment