หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Marks a given column with specified collation.
For the corresponding Databricks SQL function, see collate expression.
Syntax
from pyspark.databricks.sql import functions as dbf
dbf.collate(col=<col>, collation=<collation>)
Parameters
| Parameter | Type | Description |
|---|---|---|
col |
pyspark.sql.Column or str |
Target string column to work on. |
collation |
str |
Target collation name. |
Returns
pyspark.sql.Column: A new column of string type, where each value has the specified collation.