Databricks Databricks-Certified-Associate-Developer-for-Apache-Spark-3.5 Question Answer
An engineer has two DataFrames: df1 (small) and df2 (large). A broadcast join is used:
python
CopyEdit
frompyspark.sql.functionsimportbroadcast
result = df2.join(broadcast(df1), on='id', how='inner')
What is the purpose of using broadcast() in this scenario?
Options:

