Hi @Abhot ,
It depends, if you're going to use it multiple times in your processing then creating temp view will be slower due to lazy evaluation (unless you persist that view (dataframe cache)).
Every time your temp view is called, it will execute the view definition/code. This also depends upon your cluster capacity, how complex the view definition is, how much data the temp view has.
So every time you use view name it will be recomputed. In such scenarios it's better to use temporary table, especially if transformantion are complex.