-
- Downloads
Use `:database` to check for a Mongo native query (#32189)
Previously this was done by checking if the FE had included `:collection "some_table"` on the native query, but that's been included for SQL queries lately, and broke "Explore Results". Includes new e2e tests: one for this issue itself, and another that the fix doesn't break real Mongo native queries. Fixes #32121.
Showing
- e2e/test/scenarios/native/reproductions/32121-sql-source-query-can-explore-results.cy.spec.js 76 additions, 0 deletions...ons/32121-sql-source-query-can-explore-results.cy.spec.js
- src/metabase/query_processor/middleware/fetch_source_query.clj 8 additions, 8 deletions...etabase/query_processor/middleware/fetch_source_query.clj
- test/metabase/query_processor/middleware/fetch_source_query_test.clj 20 additions, 17 deletions...se/query_processor/middleware/fetch_source_query_test.clj
Please register or sign in to comment