upper function

Returns expr with all characters changed to uppercase.

Syntax

upper(expr)

Arguments

  • expr: A STRING expression.

Returns

A STRING.

This function is a synonym for ucase function.

Examples

> SELECT upper('SparkSql');
 SPARKSQL