Search

Describe REPEAT function in Hive with example?



REPEAT function will repeat the input string n times specified in the command.

Example: REPEAT(‘Hive’,3);
Output: HiveHiveHive.