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?
Este ejercicio forma parte del curso
Introduction to Spark SQL in Python
Ejercicio interactivo práctico
Pon en práctica la teoría con uno de nuestros ejercicios interactivos
