-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: Add logic to merge multiple by multiple join bys #1480
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👏
Some things I noticed when checking out the deployment preview:
- when merging Photovoltaikanlagen with Gebaude, the chart looks broken,
- published chart looks different than chart in the edit mode.
To reproduce both issues go to https://visualization-tool-git-feat-multiple-join-by-ixt1.vercel.app/en/v/ZOYp4gfZ_gXN?dataSource=Prod, see how the chart looks like, copy and edit the chart to see that it looks different in the edit mode.
863d55b
to
3d5e316
Compare
e0c9632
to
3b43c5a
Compare
cc17fd2
to
1bd9323
Compare
Thanks @bprusinowski, the charts should not look broken anymore (not enough filters applied when switching from chart to chart), and the published chart should not look different anymore (bug of extracting component iris from chart config). |
…'s possible for column with numerical measures to have undefined values)
- getChartFilters now take an option object - When options.joined is true, joined dimensions are deduplicated and returned through their id
1bd9323
to
5dc3cf3
Compare
59ffde4
to
2b603fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👏
One small thing, I think it's not related to this PR but found while testing it – it looks like the join by dimension description is carried over to every dataset, while it could be dataset-based (I think right now the Jahr, in welchem die EIV ausbezahlt wurde
is not really true for Gebaude dataset?) 👀
Let me know if I should create an issue or if it's intended behavior 👍
3329625
to
1f6fc23
Compare
ec6b9cf
to
b954117
Compare
Some cubes should be merged on multiple dimensions. This PR makes it possible.
How to test
<PREVIEW_URL>/en/create/new?cube=https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/9&dataSource=Prod