Friday 23 December 2022

Hive: space: return n number of spaces

Signature

space(int n)

Return ‘n’ number of spaces.

hive> SELECT concat('Hello', space(10), 'world');
OK
_c0
Hello          world
Time taken: 0.039 seconds, Fetched: 1 row(s)

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment