Message Oracle QSM-02040 - top level query contains GSets and the key is too long for rewrite

ERRORtop level query contains GSets and the key is too long for rewrite
CAUSEThe capability in question is not supported when the materialized view uses a grouping set with too many keys.
ACTIONReduce the number of grouping set keys.