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 [email protected] mail list.
________________________________
发件人: Gang Li <[email protected]>
发送时间: 2020年9月9日 17:06
收件人: [email protected] <[email protected]>
主题: 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: [email protected]

Reply via email to