CommencerCommencer gratuitement

Using monotonically_increasing_id()

monotonically_increasing_id is efficient at generating a column of integers that is always increasing. It is useful for creating a unique id per row. Which of the following sequences would not be generated by the monotonically_increasing_id operation?

Cet exercice fait partie du cours

Introduction to Spark SQL in Python

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice