QuestionQ244

VerifiedDeveloping Apache Spark™ DataFrame/DataSet API Applications

Which of the following DataFrame operations is categorized as an action?

Explanation

DataFrame.take() triggers execution by retrieving the first specified rows and returning them as a local list of Row objects. drop(), coalesce(), join(), and filter() are lazy DataFrame transformations.

Learn more

Community Discussion

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