Difference between createOrReplaceTempView and registerTempTable

registerTempTable is a part of the 1.x API and has been deprecated in Spark 2.0. createOrReplaceTempView and createTempView have been introduced in Spark 2.0, as a replacement for registerTempTable. Other than that registerTempTable and createOrReplaceTempView functionally equivalent and the former one calls the latter one.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)