-
- Downloads
Nested queries revamp base (#14014)
* Fix SQL for custom columns referring to aggregations. Fixes #12762
* Add test & enable cypress
* Disambiguate fields with same name in source query
* Use field-id where possible
* More untaglment
* move defs around
* lift joined fields when lifting expressions
* cleanup
* More cleanup
* More cleanup
* Reuse alias in unique name
* Add `source_alias` to metadata map
* Remove cruft
* Simplify expression generation
* Don't try to infer col types of native queries
* Fix metadata flowing for field ids
* Remove unneeded require
* Fix tests
* Banish mbql->honeysql
* Correctly infer base type for expressions field-literal
* Fix tests
* More test fixes
* Fix BQ driver
* Handle joined fields bette
* Remove unneeded requires
* Update test to mt
* simplify test
* Unmangle merge
* Add cypress tests
* Remove unneeded requires
* Get metadata for all fields used not just result cols
* typo
* use mt/format-name for `source_alias` in tests
* Explicitly use uppercasing when normalizing `:source_alias`
* Oracle: truncate identifiers if needed
* Correctly use Identifier
* Operate only on the last part of the identifier
* add missing arg
* Oracle: Use only letters in identifier names
* Normalize source_alias in tests
* Bigquery: update hardcoded query
* Delete duplicate test
Note: this is a left-over from before. I missed it somehow. Removing it now to avoid further confusion.
* Update repro for #12928 [ci skip] (#14468)
Expose error in Cypress runner rather than relying on UI.
* Move sandobxing middleware
* Make field read permissions work with sandboxing
* Sandboxing: use table metadata for native source cards
* Re-enable cypress tests for ee/520 & ee/154
* Add missing arg
Co-authored-by:
Nemanja <31325167+nemanjaglumac@users.noreply.github.com>
Showing
- backend/mbql/src/metabase/mbql/util.clj 1 addition, 1 deletionbackend/mbql/src/metabase/mbql/util.clj
- backend/mbql/test/metabase/mbql/util_test.clj 5 additions, 9 deletionsbackend/mbql/test/metabase/mbql/util_test.clj
- enterprise/backend/src/metabase_enterprise/sandbox/models/group_table_access_policy.clj 12 additions, 6 deletions...e_enterprise/sandbox/models/group_table_access_policy.clj
- enterprise/backend/src/metabase_enterprise/sandbox/query_processor/middleware/row_level_restrictions.clj 15 additions, 8 deletions...box/query_processor/middleware/row_level_restrictions.clj
- enterprise/frontend/test/metabase-enterprise/sandboxes/sandboxes.cy.spec.js 2 additions, 2 deletions...d/test/metabase-enterprise/sandboxes/sandboxes.cy.spec.js
- frontend/test/metabase/scenarios/question/custom_column.cy.spec.js 1 addition, 49 deletions...test/metabase/scenarios/question/custom_column.cy.spec.js
- frontend/test/metabase/scenarios/question/notebook.cy.spec.js 7 additions, 4 deletions...tend/test/metabase/scenarios/question/notebook.cy.spec.js
- modules/drivers/bigquery/src/metabase/driver/bigquery/query_processor.clj 1 addition, 1 deletion...bigquery/src/metabase/driver/bigquery/query_processor.clj
- modules/drivers/bigquery/test/metabase/driver/bigquery/query_processor_test.clj 3 additions, 3 deletions...ry/test/metabase/driver/bigquery/query_processor_test.clj
- modules/drivers/oracle/src/metabase/driver/oracle.clj 26 additions, 0 deletionsmodules/drivers/oracle/src/metabase/driver/oracle.clj
- src/metabase/api/table.clj 1 addition, 1 deletionsrc/metabase/api/table.clj
- src/metabase/driver/sql/query_processor.clj 59 additions, 57 deletionssrc/metabase/driver/sql/query_processor.clj
- src/metabase/models/field.clj 1 addition, 1 deletionsrc/metabase/models/field.clj
- src/metabase/query_processor/middleware/add_dimension_projections.clj 1 addition, 1 deletion.../query_processor/middleware/add_dimension_projections.clj
- src/metabase/query_processor/middleware/add_implicit_clauses.clj 5 additions, 3 deletions...abase/query_processor/middleware/add_implicit_clauses.clj
- src/metabase/query_processor/middleware/add_source_metadata.clj 1 addition, 1 deletion...tabase/query_processor/middleware/add_source_metadata.clj
- src/metabase/query_processor/middleware/annotate.clj 30 additions, 23 deletionssrc/metabase/query_processor/middleware/annotate.clj
- src/metabase/query_processor/middleware/resolve_joins.clj 6 additions, 3 deletionssrc/metabase/query_processor/middleware/resolve_joins.clj
- src/metabase/query_processor/middleware/results_metadata.clj 2 additions, 2 deletionssrc/metabase/query_processor/middleware/results_metadata.clj
- test/metabase/driver/sql/query_processor_test.clj 1 addition, 1 deletiontest/metabase/driver/sql/query_processor_test.clj
Loading
Please register or sign in to comment