What is the difference between createTempView, createGlobalTempView and registerTempTable

pmezentsev
New Contributor

Hi, friends!

I have a question about difference between this three functions:

  • dataframe . createTempView
  • dataframe . createGlobalTempView
  • dataframe . registerTempTable

all of them create intermediate tables.

How to decide which I have to choose in computations?