I'm trying to modify the partition of existing delta table. I know how to do that using Data Frame API. I need to achieve similar thing using SPRAK SQL. anyone help me with this ?
when I tried running below command
ALTER TABLE MY_DB_NAME.MY_TABLE_NAME ADD PARTITION (PARTITION_COLUMN='PARTITION_VALUE')
I'm getting below error
AnalysisException: Operation not allowed: `ALTER TABLE ADD PARTITION` is not supported for Delta tables: `spark_catalog`.`my_db_name`.`my_table_name`;
AlterTableAddPartitionCommand `spark_catalog`.`my_db_name`.`my_table_name`, [(Map(partition_column -> partition_value),None)], false
will it be possible to do the same in SPARK SQL ?