[jira] [Commented] (SPARK-30444) The same job will be computated for many times when using Dataset.show()
[ https://issues.apache.org/jira/browse/SPARK-30444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17021697#comment-17021697 ] Hyukjin Kwon commented on SPARK-30444: -- [~aman_omer] have you made some progresses on this? > The same job will be computated for many times when using Dataset.show() > > > Key: SPARK-30444 > URL: https://issues.apache.org/jira/browse/SPARK-30444 > Project: Spark > Issue Type: Improvement > Components: SQL >Affects Versions: 2.4.3, 2.4.4 >Reporter: Dong Wang >Priority: Major > > When I run the example sql.SparkSQLExample, df.show() at line 60 would > trigger an action. On WebUI, I noticed that this API creates 5 jobs, all of > which have the same lineage graph with the same RDDs and the same call > stacks. That means Spark recomputates the job for 5 times. But strangely, > sqlDF.show() at line 123 only creates 1 job. > I don't know what happened at show() at line 60. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-30444) The same job will be computated for many times when using Dataset.show()
[ https://issues.apache.org/jira/browse/SPARK-30444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17009370#comment-17009370 ] Aman Omer commented on SPARK-30444: --- I am looking into this one. > The same job will be computated for many times when using Dataset.show() > > > Key: SPARK-30444 > URL: https://issues.apache.org/jira/browse/SPARK-30444 > Project: Spark > Issue Type: Improvement > Components: SQL >Affects Versions: 2.4.3, 2.4.4 >Reporter: Dong Wang >Priority: Major > > When I run the example sql.SparkSQLExample, df.show() at line 60 would > trigger an action. On WebUI, I noticed that this API creates 5 jobs, all of > which have the same lineage graph with the same RDDs and the same call > stacks. That means Spark recomputates the job for 5 times. But strangely, > sqlDF.show() at line 123 only creates 1 job. > I don't know what happened at show() at line 60. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org