I tried simple example on spark 2.1cloudra2:
val flightData2015 = spark
.read
.option("inferSchema", "true")
.option("header", "true")
.csv("/2015-summary.csv")
but when I check spark shell UI,I found it generate three jobs:
I think every action should related to a job,am I right? I do some experiment found out every option can generate a job. Does option act like action? please help understand this situation.