Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Clusters the data by the given columns to optimize query performance.
Syntax
clusterBy(col, *cols)
Parameters
| Parameter | Type | Description |
|---|---|---|
col |
str | The first clustering column. |
*cols |
str, optional | Additional clustering columns. |
Returns
DataFrameWriterV2