https://demanejar.github.io/posts/spark-sql-window-function-pivot/
Window function, pivot trong Spark SQL - De Manejar