cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I convert parquet files to Delta?

User16826992666
Valued Contributor

I am already storing my data as parquet files and have registered them as a table in Databricks. If I want to convert the table to be a Delta table, do I have to do a full read of the data and rewrite it in the Delta format?

1 ACCEPTED SOLUTION

Accepted Solutions

Srikanth_Gupta_
Valued Contributor

We can convert Parquet table to Delta using below command

CONVERT TO DELTA <table_name>

CONVERT TO DELTA parquet.<location>

its better to provide table name so that metastore also gets updated, also it would be good idea to avoid update/insert new data while converting to Delta.

View solution in original post

2 REPLIES 2

Srikanth_Gupta_
Valued Contributor

We can convert Parquet table to Delta using below command

CONVERT TO DELTA <table_name>

CONVERT TO DELTA parquet.<location>

its better to provide table name so that metastore also gets updated, also it would be good idea to avoid update/insert new data while converting to Delta.

User16752244127
Contributor

more details and programmatic options can be found in the Porting Guide.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.