-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[MLv2] [BE] Add drill-thru/pivot
aka Break out by...
#33559
Comments
|
It seems like pivot is returned but there's no |
There are already:
On the proposed alternative API:
Overall the proposed API seems less handy than the existing one (except for it returning keywords, which is trivial to fix), but maybe I've got a bad picture of the UI's requirements. |
I discussed the existing API with @ranquild and we've agreed that it works well. There are two remaining tasks here:
|
Repro test suite
|
Reopening the issue since the repro test suite still fails. The root cause seems to be that CLJS keywords aren't converted to plain strings. |
These were broken because `lib.js/pivot-types` was returning CLJS keywords rather than strings. Also makes applying drill-thrus less noisy (`log/info` -> `log/debug`). Unskips the FE integration tests for pivot drills. Fixes #33559.
These were broken because `lib.js/pivot-types` was returning CLJS keywords rather than strings. Also makes applying drill-thrus less noisy (`log/info` -> `log/debug`). Unskips the FE integration tests for pivot drills. Fixes #33559.
These were broken because `lib.js/pivot-types` was returning CLJS keywords rather than strings. Also makes applying drill-thrus less noisy (`log/info` -> `log/debug`). Unskips the FE integration tests for pivot drills. Fixes #33559.
See @bshepherdson 's brain dump thread for more info https://metaboat.slack.com/archives/C04CYTEL9N2/p1691679718619139
Specifically
I think we need to fill out the
drill-thru-method
for pivots, I think one of these files has the FE code we need to port but don't quote me on that.metabase/frontend/src/metabase-lib/queries/utils/pivot.js
Line 4 in 0b0edf1
https://github.com/metabase/metabase/blob/0b0edf1b916aa6a4000767ec42a41c2721d22391/frontend/src/metabase-lib/queries/drills/pivot-drill.ts
drill-thru-method
available-drill-thrus
The text was updated successfully, but these errors were encountered: