I have a table in Databricks delta which is partitioned by transaction_date
. I want to change the partition column to view_date
. I tried to drop the table and then create it with a new partition column using PARTITIONED BY (view_date)
.
However my attempt failed since the actual files reside in S3 and even if I drop a hive table the partitions remain the same. Is there any way to change the partition of an existing Delta table? Or the only solution will be to drop the actual data and reload it with a newly indicated partition column?