This line "{""subject"":""Title"",""Headline"":""test head""}",2021-01-01
should have two column while doing
spark.read.option("header", "true").option("inferSchema", "true").option("multiLine","true").csv('test.csv')
gives me three columns.
I think the issue is that pyspark does not escape the "
when it encounters two quotes in a row.