Oracle Solution for Error ora-14039

Solution for Oracle Error ORA-14039

ORA-14039: partitioning columns must form a subset of key columns of a UNIQUE index

What triggered the Error:

User attempted to create a UNIQUE partitioned index whose partitioning columns do not form a subset of its key columns which is illegal

What should we do to fix it:

If the user, indeed, desired to create an index whose partitioning columns do not form a subset of its key columns, it must be created as non-UNIQUE; otherwise, correct the list of key and/or partitioning columns to ensure that the index' partitioning columns form a subset of its key columns