Saturday, 17 December 2022

Hive: repeat: Repeat the string n times

Signature

repeat(string str, int n)

hive> SELECT repeat('Hi', 5);
OK
_c0
HiHiHiHiHi
Time taken: 0.049 seconds, Fetched: 1 row(s)

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment