Oracle Error QSM-01297: query rewrite not possible because materialized view with grouping sets has more than 176 different keys

Oracle Error Message

QSM-01297: query rewrite not possible because materialized view with grouping sets has more than 176 different keys

Reason for the Error

Materialized view with grouping sets has more that 176 different keys in its GROUP BY. No rewrite is supported then.

Solution

None