`add-alias-info`: recognize `:field` clauses in join source queries to be the...
`add-alias-info`: recognize `:field` clauses in join source queries to be the same if it has a `:temporal-unit` (#19789) * Backport Debug QP improvements from #19754 * Enable test * "Fuzzy" matching when looking for Fields in join source queries * Add/update tests * Test fix* Remove trailing whitespace * Fix a few docstrings
Showing
- dev/src/dev/debug_qp.clj 113 additions, 68 deletionsdev/src/dev/debug_qp.clj
- frontend/test/metabase/scenarios/question/reproductions/18512-cannot-join-two-saved-questions-with-same-implicit-explicit-grouped-field.cy.spec.js 1 addition, 1 deletion...ions-with-same-implicit-explicit-grouped-field.cy.spec.js
- shared/src/metabase/mbql/schema.cljc 0 additions, 9 deletionsshared/src/metabase/mbql/schema.cljc
- src/metabase/driver.clj 3 additions, 3 deletionssrc/metabase/driver.clj
- src/metabase/driver/sql/query_processor/deprecated.clj 4 additions, 5 deletionssrc/metabase/driver/sql/query_processor/deprecated.clj
- src/metabase/query_processor/util/add_alias_info.clj 35 additions, 20 deletionssrc/metabase/query_processor/util/add_alias_info.clj
- test/metabase/query_processor/util/add_alias_info_test.clj 34 additions, 14 deletionstest/metabase/query_processor/util/add_alias_info_test.clj
- test/metabase/query_processor_test/explicit_joins_test.clj 34 additions, 0 deletionstest/metabase/query_processor_test/explicit_joins_test.clj
Loading
Please register or sign in to comment