Skip to content

Conversation

@matt-metivier
Copy link

Changes

Documentation for GROUP BY modifiers (GROUPING SETS, CUBE, ROLLUP)

Related to PostHog/posthog#35619

Added a new "GROUP BY modifiers" section to /docs/sql/index.mdx with:

  • GROUPING SETS syntax and example
  • CUBE syntax and example
  • ROLLUP syntax and example
  • Note about security limits (10 columns for CUBE/ROLLUP, 64 sets for GROUPING SETS)

How did you test this code?

Verified MDX syntax is correct and examples match the implemented feature.

@vercel
Copy link

vercel bot commented Jan 25, 2026

@matt-metivier is attempting to deploy a commit to the PostHog Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
posthog Error Error Jan 28, 2026 11:18am

Request Review

Copy link
Contributor

@ivanagas ivanagas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is quite the right place for this, would be better in here: https://posthog.com/docs/data-warehouse/sql/useful-functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants