Skip to content

Improve dimension values query#2565

Merged
mburri merged 11 commits into
mainfrom
improve-dimension-values-query
May 19, 2026
Merged

Improve dimension values query#2565
mburri merged 11 commits into
mainfrom
improve-dimension-values-query

Conversation

@BenjaminHofstetter
Copy link
Copy Markdown
Contributor

This PR makes the Dimension Values query faster. It’s now more flexible, starting with subqueries based on how many and what kind of filters you use. We’ve added a new abstract filter class and two more specific Single Filter and Multi filter classes. For each filters there a 4 kind of filters possible (literal, shared, versioned literal, versioned shared).

How to test

  1. Test with dataset "Tierversuche: Tierversuchsstatistik"
  • [ x] I added a CHANGELOG entry
  • [ x] I made a self-review of my own code

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
visualization-tool Ready Ready Preview, Comment May 19, 2026 1:38pm

Request Review

Copy link
Copy Markdown
Contributor

@mburri mburri left a comment

Choose a reason for hiding this comment

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

Seems to have fixed the problem.

Please fix the failing e2e and unit test, the knip task and it would be nice if you could reformat the changed files

Comment thread app/rdf/query/dimension-values/readme.md Outdated
Comment thread app/rdf/query/dimension-values/model/cube-dimension-filter.ts
Copy link
Copy Markdown
Contributor

@mburri mburri left a comment

Choose a reason for hiding this comment

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

looks good now, fix the e2e test and then merge it!

@mburri mburri force-pushed the improve-dimension-values-query branch from c29deca to 52ff2b6 Compare May 19, 2026 13:28
@mburri mburri merged commit f1f7ab5 into main May 19, 2026
12 checks passed
@mburri mburri deleted the improve-dimension-values-query branch May 19, 2026 13:46
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