snowflake.snowpark.functions.collation¶
- snowflake.snowpark.functions.collation(e: Union[Column, str]) Column [source]¶
Returns the collation specification of expr.
- Example::
>>> df = session.create_dataframe(['ñ'], schema=['v']) >>> df.select(collation(collate(df.v, 'sp-upper'))).show() ------------------------------------------- |"COLLATION(COLLATE(""V"", 'SP-UPPER'))" | ------------------------------------------- |sp-upper | -------------------------------------------