공부
[Spark] array to multiple rows
승가비
2020. 11. 7. 08:03
728x90
df.select($"name",explode($"knownLanguages"))
.show(false)
https://sparkbyexamples.com/spark/explode-spark-array-and-map-dataframe-column/
Spark explode array and map columns to rows — Spark by {Examples}
In this article, I will explain how to explode array or list and map DataFrame columns to rows using different Spark explode functions (explode,
sparkbyexamples.com
728x90