Saturday 17 December 2022

Hive: ltrim: remove left side trailing spaces

Signature

ltrim(string str)

 

Remove all the left side trailing spaces in a string.

hive> SELECT concat(ltrim('  Hello    '), 'world');
OK
_c0
Hello    world

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment