Oracle Solution for Error ora-14271

Solution for Oracle Error ORA-14271

ORA-14271: table is not partitioned by Composite Range method

What triggered the Error:

The table in ALTER TABLE MODIFY SUBPARTITION { UNUSABLE LOCAL INDEXES | REBUILD UNUSABLE LOCAL INDEXES } statement is not partitioned by Composite Range method which is illegal.

What should we do to fix it:

Ensure that the table is partitioned by Composite Range method