Skip to content

Add Query.autoIncludeDimensions - #4571

Open
lbwexler wants to merge 1 commit into
developfrom
cube-auto-include-dimensions
Open

Add Query.autoIncludeDimensions#4571
lbwexler wants to merge 1 commit into
developfrom
cube-auto-include-dimensions

Conversation

@lbwexler

Copy link
Copy Markdown
Member

Pulled out of #4570 before that merged, to land after the v78 release.

Adds QueryConfig.autoIncludeDimensions (default true, the established behavior). Set false to keep an explicit fields list exactly as specified: dimension values are then not published on row data, so row shape no longer varies with grouping and every leaf survives any regroup - maximizing View row reuse across regroups.

If you set this flag and need dimension values for grid columns or in a lockFn/omitFn/bucketSpecFn, list the dimension explicitly in fields.

Set false to keep an explicit `fields` list exactly as specified: dimension values are then not
published on row data, so row shape no longer varies with grouping and every leaf survives any
regroup. Pulled out of the View row-reuse PR to land after v78.
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.

1 participant