QuestionQ174Verified/Developing Apache Spark™ DataFrame/DataSet API ApplicationsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following operations does not trigger evaluation?ADataFrame.collect()BDataFrame.count()CDataFrame.first()DDataFrame.join()EDataFrame.take()Show AnswerAnswerExplanationSpark DataFrame transformations are lazy: they create a logical plan for a new DataFrame without executing it. join() returns a joined DataFrame, whereas collect(), count(), first(), and take() are actions that require results and trigger computation.Learn morePySpark DataFrame quickstartpyspark.sql.DataFrame.joinShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion