cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

not able to create temporary tables in unity catalog

SandeepG
New Contributor

We are using a unity catalog environment and when trying to create a temporary table the statement errored out.

SandeepG_0-1710776912989.png

 

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @SandeepGThis article introduces the concept of managed and external tables in Unity Catalog and describes how to create tables in Unity Catalog.

Sampath_Kumar
New Contributor II

Hi @SandeepG 

Could you please share the need of a temporary table?

Here are the possible ways

  • Tables:
    • External Tables: Tables can be created on top of files which are externally located.
    • Managed Tables: The usual tables which will be stored and managed automatically as per the schema and catalog configurations.
    • Reference: Databricks Tables 
  • Views:
    • View is a virtual object storing the result of a custom query.
    • Temporary view which is limited to the created spark session(within notebook) and global temporary view which is limited to the cluster(within workspace). Both of these are temporarily stored.
    • Materialized view: It is like a view but it is physically stored. It can be refreshed whenever needed.
  • The respective object can be chosen based on the requirement.
Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.