The correct answer is C - DataFrame.outerJoin(). The outer join operation can be performed by specifying the join type as "outer" when calling the outerJoin() function on a DataFrame. The join() function in Spark only performs an inner join, while the merge() function is not a valid function in Spark SQL. The crossJoin() function performs a Cartesian product between two DataFrames, which is not an outer join.
this guy always post wrong answers, sometime gpts as well. ignore his commnmets
upvoted 1 times
...
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
cookiemonster42
Highly Voted 1 year, 4 months agojuliom6
Most Recent 1 year ago4be8126
1 year, 6 months ago65bd33e
7 months agoZSun
1 year, 5 months agoSeeker_thunder
1 year ago