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: 

Target database.table1 must be delta table

AkankshaGupta
New Contributor II

I created a table1 with some data. Then I truncated it to load new dataset.

When I do

select * from table

. I get row count 0.

But when I am trying to copy into using following command. I get error saying target table must be delta table:

COPY INTO databse.tabl1   FROM '/mnt/blob/path/tday'  

 

FILEFORMAT = CSV 

 

  --PATTERN = 'folder1/file_[a-g].csv'
  FORMAT_OPTIONS('header' = 'true')

I can also see the table in SHOW TABLES.

Please tell me if I am missing anything??

0 REPLIES 0

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