is spark TempView thread safe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

is spark TempView thread safe

崔苗
Hi,
we know  multiple parallel jobs can run simultaneously if they were submitted from separate threads , now we want to reduce time cost by multiple threads in one application (sparkSession) , I want to know is tempVIew thread safe , how about to create same tempView in one sparkSession?