Oracle Error ORA-40323: Attribute string has too many distinct values (string)

Oracle Error Message

ORA-40323: Attribute string has too many distinct values (string)

Reason for the Error

Exceeded maximum number of distinct values allowed in an attribute.

Solution

Bin numerical data with fewer than 1024 bins or recode categorical data with fewer than 1024 unique values.