What is a "leaf expression"?
Partition-clause expressions are limited in the following ways: Your partition-clause must calculate a single non-null value for each row. You can reference multiple columns, but each row must return a single value. You can specify leaf expressions, functions, and operators in the partition clause expression. All leaf expressions in the partition clause must be either constants or columns of the table.