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:ย 

CRAS in @dlt

rt-slowth
Contributor

The Delta Table created as a result of the Dataframe returned by @dlt.create_table is confirmed to be overwritten when checked with the DECREASE HISTORY command.
I want this to be handled as a CRAS, or CREATE AS SELECT, but how can I do this in python code?

 

2 REPLIES 2

rt-slowth
Contributor

@Retired_mod 

If you don't mind me asking, can I see the code or documentation for this? I searched for DelataTableBuilder and only found Scala related stuff.

siddhathPanchal
Databricks Employee
Databricks Employee

Hi @rt-slowth You can review this open source code base of Delta to know more about the DeltaTableBuilder's implementation in Python. 

https://github.com/delta-io/delta/blob/master/python/delta/tables.py

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