CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseUpdated Nov 15, 2024
rtrim
function Applies to: Databricks SQL Databricks Runtime
Returns str
with trailing characters removed.
trimStr
: An optional STRING
expression with characters to be trimmed. The default is a space character.
str
: A STRING
expression to be trimmed.
> SELECT rtrim('SparkSQL ') || '+';
SparkSQL+
> SELECT rtrim('ab', 'SparkSQLabcaaba');
SparkSQLabc