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

Signature

LTRIM(col)

Usage Examples

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