Which of the following operations will fail to trigger evaluation?
Which of the following operations will fail to trigger evaluation?
DataFrame.join() is a transformation operation in Spark. It does not trigger an evaluation. Instead, it defines a new DataFrame that will be evaluated later when an action is performed. Transformations like join() are lazy and only build up a plan for the computation, while actions like collect(), count(), first(), and take() trigger the execution of that plan.
Join is a tranformation so it will not throw results, while others are actions, so Join() is correct