-
- Downloads
backport "[QP] Correctly find joined fields in the previous stage (#40933)" (#40987)
This logic was trying to match `[name join-alias]` pairs previously, but
that won't work since the later stage field doesn't have a `:join-alias`
on it. This falls back to matching on only the ID or name, but only if
it's unambiguous.
See #40252.
Co-authored-by:
Braden Shepherdson <braden@metabase.com>
Showing
- e2e/test/scenarios/models/reproductions/40252-native-model-join-crashes.cy.spec.js 1 addition, 2 deletions.../reproductions/40252-native-model-join-crashes.cy.spec.js
- src/metabase/query_processor/util/add_alias_info.clj 6 additions, 1 deletionsrc/metabase/query_processor/util/add_alias_info.clj
- test/metabase/query_processor/util/add_alias_info_test.clj 66 additions, 0 deletionstest/metabase/query_processor/util/add_alias_info_test.clj
Loading
Please register or sign in to comment