QuestionQ196

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following code blocks returns a new DataFrame resulting from a cross join between DataFrame storesDF and DataFrame employeesDF?

Explanation

DataFrame.crossJoin(other) returns the Cartesian product of the two DataFrames, producing the cross-join result as a new DataFrame.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!