Recursive view error while using spark 3.2.0 version

Viewed 503

This happens while replacing temp view using below code block

latest_data.createOrReplaceGlobalTempView("e_test")

ideally this command should replace the view if e_test already exists instead it is throwing

"Recursive view `global_temp`.`e_test` detected (cycle: `global_temp`.`e_test` -> `global_temp`.`e_test`)" error..

Can someone help me with this

codeblock

1 Answers

It works with 3.0.1 but looks like the latest version has a bug

Related