Share via


Funzione spark_partition_id

Si applica a:check marked yes Databricks SQL check marked yes Databricks Runtime

Restituisce l'ID partizione corrente.

Sintassi

spark_partition_id()

Argomenti

La funzione non accetta argomenti.

Resi

Oggetto INTEGER.

Esempi

> SELECT spark_partition_id();
 0