cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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_Fatma
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.

Connect with Databricks Users in Your Area

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