I am getting the error:
Cannot create table ('
hive_metastore
.MY_SCHEMA
.MY_TABLE
'). The associated location ('dbfs:/user/hive/warehouse/my_schema.db/my_table') is not empty and also not a Delta table.
I tried to overcome this by running
drop table 'hive_metastore`.`MY_SCHEMA`.`MY_TABLE`
But then I am getting
[TABLE_OR_VIEW_NOT_FOUND] The table or view
hive_metastore
.MY_SCHEMA
.MY_TABLE
cannot be found. Verify the spelling and correctness of the schema and catalog.
How Can I overcome that and recreate the table the that name in that location?
I already tried create of *replace* table
but still getting the original error
location is not empty