szymon_dybczak
Esteemed Contributor III

Hi @AndyG , @AndySkinner 

Yeah, I misunderstood the question. I would do this in following way:

 

REPLACE TABLE <tablename>
  USING DELTA
  PARTITIONED BY (column_name)
AS
 SELECT * FROM <tablename>

 

Best practices: Delta Lake | Databricks on AWS