
Explanation:
The correct syntax to apply a broadcast join hint in Spark SQL is to use a comment block right after the SELECT statement: SELECT /*+ BROADCAST(table_name) */ .... This instructs the Catalyst optimizer to broadcast the specified table to all worker nodes, speeding up the join.
Ultimate access to all questions.
No comments yet.