I have partition table called employee\_part.This table is partitioned by hiredate. It has metadata as given below 

![enter image description here](https://i.stack.imgur.com/BCnpg.png) 

When I tried to add new column partition to the employee\_part table Im getting an error saying 

```
 ALTER TABLE employee_part ADD PARTITION (gender='M') location 'hdfs://user/hive/warehouse/maprpoc.db/employee_part/hiredate=1985-11-21';

```

FAILED: SemanticException Partition spec {gender=M} contains non-partition columns

![enter image description here](https://i.stack.imgur.com/ErVWa.png)

Please clarify on this! Thanks in advance..