
Ultimate access to all questions.
Which of the following code blocks will consistently produce a new 4-partition DataFrame from an 8-partition DataFrame named storesDF without causing a shuffle operation?
A
storesDF.repartition(4, "sqft")
B
storesDF.repartition()
C
storesDF.coalesce(4)
D
storesDF.repartition(4)
E
storesDF.coalesce