by
Abhot
• New Contributor II
- 7078 Views
- 4 replies
- 0 kudos
Hello , 1 ) Which one is better during large data processing - Temp table vs Temporary view vs temp Table function . 2) How lazy evaluation better for processing ? and which one of the above helps in lazy evaluation
- 7078 Views
- 4 replies
- 0 kudos
Latest Reply
Does anyone have any suggestions regarding the question above?
3 More Replies
- 33327 Views
- 2 replies
- 8 kudos
The difference between Global and Temp is how the lifetime of the view is tied to the application:http://spark.apache.org/docs/latest/api/python/reference/api/pyspark.sql.DataFrame.createOrReplaceTempView.html?highlight=createorreplacetempview#pyspar...
- 33327 Views
- 2 replies
- 8 kudos
Latest Reply
Correct A Temp View is scoped to the SparkSession and dropped when that session closes. Each notebook runs in its own SparkSession. The Global Temp View is scoped to the cluster and dropped when the cluster re-starts or you drop it.
---------------...
1 More Replies
- 5698 Views
- 1 replies
- 0 kudos
We are having the files that needs to be loaded into the delta tableNow we want to perform some transformation on the files and load that into the tableWhat we didCreate a Spark DF from that fileApply transformation on the DFCreate a temp view from t...
- 5698 Views
- 1 replies
- 0 kudos
Latest Reply
Hi @Sravan Kumar Mohanraj ,Yes, you can use copy query in this case your temp_view will be source.For more info, please visit these links.
- 17394 Views
- 6 replies
- 1 kudos
I need to delete from a temp view in databricks, but it looks like i can do only merge, select and insert. Maybe i missed something but I did not find any documentation on this.
- 17394 Views
- 6 replies
- 1 kudos
- 5063 Views
- 7 replies
- 2 kudos
This happens while creating temp view using below code blocklatest_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` detecte...
- 5063 Views
- 7 replies
- 2 kudos
Latest Reply
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?
6 More Replies