Hi @Manish Pโ , You have three options for converting a Parquet table to a Delta table.
- Convert files to Delta Lake format and then create a Delta table:
CONVERT TO DELTA parquet.`/data-pipeline/`
CREATE TABLE events USING DELTA LOCATION '/data-pipeline/'
- Create a Parquet table and then convert it to a Delta table:
CREATE TABLE events USING PARQUET OPTIONS (path '/data-pipeline/')
CONVERT TO DELTA events
- Convert a Parquet table to a Delta table:
CONVERT TO DELTA events
This assumes that the table named events is a Parquet table.
For details, see Convert a Parquet table to a Delta table.