Complete the code to broadcast the small DataFrame before joining.
from pyspark.sql.functions import broadcast result = large_df.join([1](small_df), 'id')
Complete the code to perform a broadcast join with a condition on 'id'.
joined_df = large_df.join([1](small_df), large_df.id == small_df.id)Fix the error in the code to correctly broadcast the small DataFrame before join.
from pyspark.sql.functions import broadcast joined = large_df.join([1](small_df), 'id')
Fill both blanks to create a broadcast join and select columns from both DataFrames.
from pyspark.sql.functions import [1] result = large_df.join([2](small_df), 'id').select('large_col', 'small_col')
Fill all three blanks to broadcast the small DataFrame, join on 'id', and filter results.
from pyspark.sql.functions import [1] joined = large_df.join([2](small_df), 'id') filtered = joined.filter(joined.[3] > 100)
