Friday 2 December 2022

Hive: concat_ds: Concatenate strings using given delimeter

Signature

concat_ds(string delimiter, string str1, string str2...)

 

Concatenate strings using given delimiter.

hive> SELECT concat_ws('-','Hello','World','Program');
OK
_c0
Hello-World-Program
Time taken: 0.041 seconds, Fetched: 1 row(s)

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment