Prev Next

BigData / Apache Spark

How do I read multiline JSON in Apache Spark?

Spark 2.2 introduced multiLine option which can be used to load JSON.

val vaDF = spark.read.option("multiLine",true).json("vectorAssemblerTest.data")

More Related questions...

Show more question and Answers...


Comments & Discussions