QuestionQ5
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsA data engineer is developing a Spark application containing two DataFrames:
- DataFrame A holds detailed transaction records from the last year and is 128 GB in size.
- DataFrame B holds a lookup table of user details and is 1 GB in size.
For performance optimization, the developer chooses to use a broadcast join.
Which approach should the engineer use to choose the DataFrame to broadcast?
Community Discussion