QuestionQ4
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.The code block below contains a logical error that results in inefficiency. It is intended to efficiently perform a broadcast join of DataFrame storesDF and the much larger DataFrame employeesDF using key column storeId. Identify the logical error.
Code block:
storesDF.join(broadcast(employeesDF), "storeId")
Community Discussion