QuestionQ170Verified/Developing Apache Spark™ DataFrame/DataSet API ApplicationsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following operations performs a cross join between two DataFrames?ADataFrame.join()BThe standalone join() functionCThe standalone crossJoin() functionDDataFrame.crossJoin()EDataFrame.merge()Show AnswerAnswerExplanationDataFrame.crossJoin(other) returns the Cartesian product of the current DataFrame and another DataFrame, which is a cross join.Learn morepyspark.sql.DataFrame.crossJoinShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion