snowflake.snowpark.functions.collation¶ snowflake.snowpark.functions.collation(e: Union[Column, str]) → Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L2837-L2851)¶ Returns the collation specification of expr. Example::CopyExpand>>> df = session.create_dataframe(['ñ'], schema=['v']) >>> df.select(collation(collate(df.v, 'sp-upper'))).show() ------------------------------------------- |"COLLATION(COLLATE(""V"", 'SP-UPPER'))" | ------------------------------------------- |sp-upper | ------------------------------------------- Show lessSee moreScroll to top