spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liu Genie <genie_...@outlook.com>
Subject 回复: For the same data source in two SQLs, how to read it once?
Date Thu, 10 Sep 2020 01:36:26 GMT
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 user@spark.apache.org mail list.
________________________________
发件人: Gang Li <lg1173298382@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-unsubscribe@spark.apache.org

Mime
View raw message