Apache Pinot Docs
latest
Search…
⌃K

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