I think Yang Sun means createTempView, which will cache data in memory instead 
of writing to disk.

And I sugguest this post should be discussed in u...@spark.apache.org mail list.
________________________________
发件人: Gang Li <lg1173298...@gmail.com>
发送时间: 2020年9月9日 17:06
收件人: dev@spark.apache.org <dev@spark.apache.org>
主题: Re: For the same data source in two SQLs, how to read it once?

If use a temporary table, the execution process is shown in the following
figure
<http://apache-spark-developers-list.1001551.n3.nabble.com/file/t3738/tmp1.png>

Is there any way to achieve the following figure?
<http://apache-spark-developers-list.1001551.n3.nabble.com/file/t3738/tmp2.png>

thanks!



--
Sent from: http://apache-spark-developers-list.1001551.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Reply via email to