Why does Spark only lazily calculate RDD??

Why does Spark only lazily calculate RDD? Why is it really calculated only when it is used in an action operation for the first time?

Oct.29,2021

Computing resources are so precious, why do useless calculations?


not only is the computing resource valuable, but what I think is more important is that spark has a concept of pipeline and DAG.

Menu