Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
更新しました 2024/12/10
Send us feedback
spark_partition_id
Applies to: Databricks SQL Databricks Runtime
Returns the current partition ID.
spark_partition_id()
The function takes no arguments.
An INTEGER.
INTEGER
> SELECT spark_partition_id(); 0