Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Cube Views to opt-out of flattening redundant children #3843

Open
TomTirapani opened this issue Dec 3, 2024 · 1 comment
Open

Allow Cube Views to opt-out of flattening redundant children #3843

TomTirapani opened this issue Dec 3, 2024 · 1 comment
Labels

Comments

@TomTirapani
Copy link
Member

Our cube currently has hard-coded logic to flatten "redundant children"; i.e., groups with a single child with the same dimension values: https://github.com/xh/hoist-react/blob/develop/data/cube/row/BaseRow.ts#L66-L75

We should offer a flag to allow cube view queries to opt-out of this behaviour.

@amcclain amcclain added the data label Dec 17, 2024
@amcclain
Copy link
Member

"Redundant child" - ouch!

But seriously, I have no doubt there is a specific use case behind this request, and it seems like it should be pretty straightforward to implement, assuming we don't have any strong expectations anywhere else that this processing has been applied (I don't know why there would be).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants