02-13-2022 11:30 PM
This happens while creating 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 anyone help me with this
03-30-2022 07:10 PM
Hi, @Manasa, could you please check SPARK-38318 and use Spark 3.1.2, Spark 3.2.2, or Spark 3.3.0 to allow cyclic reference?
02-14-2022 02:02 AM
does it work when you don't use a global view?
02-14-2022 02:16 AM
Nope.Same error
03-08-2022 05:52 PM
Hi @Manasa Kalluri Is "latest_data" referring to "e_test".
How latest_data is created ?
03-09-2022 09:25 PM
Hi @Gaurav Rupnar ,
latest_data=spark.read.format('csv').option("header","true").option("multiLine","true").load(file_path)
latest_data is a simple dataframe of a small csv file
03-30-2022 07:10 PM
Hi, @Manasa, could you please check SPARK-38318 and use Spark 3.1.2, Spark 3.2.2, or Spark 3.3.0 to allow cyclic reference?
04-11-2022 11:36 AM
Hi @Manasa Kalluri ,
Just a friendly follow-up. Do you still need help with this issue?
04-27-2022 12:39 AM
No, it was resolved.Thanks!
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group