GlobalTempView means cross-session global temporary views. Its lifetime is the lifetime of the
Spark application, i.e. it will be automatically dropped when the application terminates. It's
tied to a system preserved database _global_temp, and we must use the qualified name to refer a
global temp view, e.g. SELECT * FROM _global_temp.view1.
GlobalTempView means cross-session global temporary views. Its lifetime is the lifetime of the Spark application, i.e. it will be automatically dropped when the application terminates. It's tied to a system preserved database
_global_temp
, and we must use the qualified name to refer a global temp view, e.g. SELECT * FROM _global_temp.view1.