CLUSTER BY
clause (TABLE)mask
clauseROW FILTER
clauseAtualizado 01/11/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