cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Meta data for cloned table

SeBaFlu
New Contributor

Hi, guys!

How I can find out whether a table is cloned right now - hopefully by querying some meta data (information_schema or the like)?

Thanks! Sebastian

2 REPLIES 2

mark_ott
Databricks Employee
Databricks Employee

Just type:  DESCRIBE HISTORY <table_name>.  It will tell you if it is a Deep or Shallow Clone.  Cheers.

User16309066414_1-1732281748548.png

 

 

 

JissMathew
New Contributor II

Hi @SeBaFlu ,

To determine whether a table in Databricks is a clone (created using Delta Lake's CREATE TABLE CLONE), you can use Delta Lake's metadata and DESCRIBE HISTORY command.



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