โ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