Difference between createOrReplaceTempView and registerTempTable

Viewed 19703

I am new to spark and was trying out a few commands in sparkSql using python when I came across these two commands:

createOrReplaceTempView() and registerTempTable().

What is the difference between the two commands?. They seem to have same set of functionalities.

3 Answers
Related