Apache Pinot Docs
Search…
latest
Configuration Reference
rtrim
This section contains reference documentation for the rtrim function.
rtrim spaces from right side of the string

Signature

RTRIM(col)

Usage Examples

1
SELECT ' Pinot with spaces ' AS notTrimmed,
2
rtrim(' Pinot with spaces ') AS trimmed
3
FROM ignoreMe
Copied!
notTrimmed
trimmed
" Pinot with spaces "
" Pinot with spaces"
Last modified 6mo ago
Copy link