We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d16ad commit eab6688Copy full SHA for eab6688
03-spark-table-demo.sql
@@ -1,7 +1,3 @@
1
--- Databricks notebook source
2
-drop table if exists demo_db.fire_service_calls_tbl;
3
-drop view if exists demo_db;
4
-
5
-- COMMAND ----------
6
7
-- MAGIC %fs rm -r /user/hive/warehouse/demo_db.db
@@ -55,7 +51,8 @@ select * from demo_db.fire_service_calls_tbl
55
51
56
52
57
53
58
-truncate table demo_db.fire_service_calls_tbl
54
+truncate table demo_db.fire_service_calls_tbl
+--spark doesnt offer delete & update statement, but databricks does
59
60
61
@@ -68,4 +65,6 @@ select * from demo_db.fire_service_calls_tbl
68
65
69
66
70
67
71
+-- Databricks notebook source
+drop table if exists demo_db.fire_service_calls_tbl;
+drop view if exists demo_db;
0 commit comments