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

Rework axis cell resolution #76

Open
eduard93 opened this issue Jul 27, 2021 · 1 comment
Open

Rework axis cell resolution #76

eduard93 opened this issue Jul 27, 2021 · 1 comment

Comments

@eduard93
Copy link

eduard93 commented Jul 27, 2021

Due to the historical reasons MDX2JSON uses naive axis cell resolution strategy which involves iterating all cells in the axis/tuple and determining their visibility later on.

This is implemented in a MDX2JSON.ResultSet class, specifically:

  • AxesToListOfObjects - entrypoint
  • ProcessOneAxis
  • ProcessOneAxisCell - main work happens here

Compared to that, DSR uses a much more effective approach of using %GetOrdinalLabel (see %ZEN.Auxiliary.jsonMDXProvider:%DrawJSON).

We need to move to this approach - it's faster and would prevent the whole visibility debacle.

Related hotfix.

@eduard93
Copy link
Author

@MakarovS96 can you take a look please?

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

No branches or pull requests

1 participant