Apache Pinot Docs
latest
Ask or search…
K
Comment on page

rtrim

This section contains reference documentation for the rtrim function.
rtrim spaces from right side of the string

Signature

RTRIM(col)

Usage Examples

SELECT ' Pinot with spaces ' AS notTrimmed,
rtrim(' Pinot with spaces ') AS trimmed
FROM ignoreMe
notTrimmed
trimmed
" Pinot with spaces "
" Pinot with spaces"
Last modified 1yr ago