I am running a Spark application on the driver.
Is is simple as follow
val count=0;
val test_dataframe =//extrenal frame
count=test.count();
println("The count of frame is " + count);
My question is that if the third line is always executed after computing the count of frame. Is it possible the driver first run the println command, before executing the dataframe and its count?
count=test.count()this line?test.countyou meanttest_dataframe.count. As your declared dataframe name istest_dataframeand nottest.