Home › Glossary › CUBE

GLOSSARY TERM

CUBE

See it in the glossary A–Z

A Spark SQL GROUP BY extension that returns totals for each possible combination of the named columns, which is 2^n grouping sets once the overall total is counted. ROLLUP, by contrast, returns only the hierarchy-based subset.

Read more: Microsoft Learn

In the Ultra Transcenders books

DBX-DEPDP-700

Each book explains CUBE in context, with comparison tables and the common traps.

Terms in this definition

Related terms

See CUBE in the full glossary