0 votes
in DevOps by
Describe TRIM function in Hive with example?

1 Answer

0 votes
by

TRIM function will remove the spaces associated with a string.

Example: TRIM(‘ Hadoop ‘);

Output: Hadoop.

If we want to remove only leading or trailing spaces then we can specify the below commands respectively.

LTRIM(‘ Hadoop’);

RTRIM(‘Hadoop ‘);

Related questions

+1 vote
asked Jan 20, 2020 in DevOps by AdilsonLima
0 votes
asked Nov 3, 2023 in ReactJS by AdilsonLima
...