MediumConceptSpark performance and internals
Why prefer DataFrames over RDDs?
What a good answer covers
DataFrames carry a schema so Spark can optimise them with Catalyst and Tungsten, giving better performance than opaque RDD functions. RDDs are for low-level control.
PreviousWhat is lazy evaluation in Spark?Next Why are Python UDFs slow and what are the alternatives?