Oracle Message QSM-01295 - no suitable grouping_id found in materialized view with grouping sets

ERRORno suitable grouping_id found in materialized view with grouping sets
CAUSEIf materialized view contains grouping sets, then it also must contain the grouping_id() function. This function must contain all columns in the MV GROUP BY.
ACTIONNone