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
Contributor III

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.



Jiss Mathew
India .

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now