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

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.

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