This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 29, 2024
-
-
Luis Paolini authored
-
Cal Herries authored
-
- Apr 25, 2024
-
-
Luis Paolini authored
I need to test a bugfix with a customer (Fixed an issue with parsing large responses (greater than 16MB)) in 49.7
-
Cal Herries authored
-
- Apr 19, 2024
- Apr 12, 2024
-
-
Cam Saul authored
[P1 BUG FIX] Cumulative aggregations with multiple breakouts should reset counts when values of breakouts other than change (#41340) * Fix add-alias-info matching for nominal field literal refs * Minor cleanup * Minimize diff * A bit more cleanup * Cumulative aggregations w/ multiple breakouts should reset counts (#2862) * Update dox * Do the nesting FIRST before adding alias info. * Remove unused
-
Cal Herries authored
-
- Apr 11, 2024
-
-
Cam Saul authored
* Convert `auto-bucket-datetimes` middleware to MLv2 * New Kondo rule time. * Test & lint fixes
* Fix typos * Apply suggestions from code review Co-authored-by:metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Cal Herries authored
-
- Apr 10, 2024
-
-
Cal Herries authored
-
Cal Herries authored
-
Cal Herries authored
-
- Apr 08, 2024
-
-
Cam Saul authored
* Use window functions for SQL drivers for cumulative count and sum * H2/Snowflake/Redshift implementation * Test fixes
* Use SELECT expression positions as the default window function implementation * Some test fixes. * Fix bugs in add-alias-info * MongoDB fixes * Another pass * BigQuery should use positions? * BigQuery almost works 100% now. * MLv2 fix conversion behavior for expressions with type info * Add transformations for nesting cumulative aggregations in expressions * Minor tweaks * MLv2 should escape aliases using driver/escape-alias (dynamically bind this) * Kondo fix * Lint fixes * More test fixes and revert test changes * Update some tests to use correct case for nominal Field literal refs * Wow! BigQuery is fixed! Remove upgrade-field-literals middleware * Disable tests for the failing drivers, we can fix in follow-on PRs. * Enable BigQuery :window-functions * Extra info * Add GH issue numbers * Update more GH issue numbers * Fix SQL Server!!!! wooo * I THOUGHT WE WERE DISABLING SPARK SQL!!!!!!!!!!1 * Cleanup to get things ready for review. * Snowflake + Vertica shouldn't use output column numbers for ORDER BY in OVER * Code cleanup * Snowflake + Vertica shouldn't use output column numbers for ORDER BY in OVER * Code cleanup * Test fixes * Much simpler BigQuery implementation * Add GH issue context * Remove commented-out code * Remove unused add-stage-at-index * Documentation * Test fix? * Test fix -
Cam Saul authored
* Legacy MBQL documentation * Do not commit dox * Subject the legacy MBQL stuff to the same stricter linting rules as MLv2 * PR feedback
-
Cal Herries authored
-
- Apr 05, 2024
-
-
Cam Saul authored
* Use window functions for SQL drivers for cumulative count and sum * H2/Snowflake/Redshift implementation * Test fixes
* Use SELECT expression positions as the default window function implementation * Some test fixes. * Fix bugs in add-alias-info * MongoDB fixes * Another pass * BigQuery should use positions? * Disable tests for the failing drivers, we can fix in follow-on PRs. * Extra info * Add GH issue numbers * Update more GH issue numbers * Fix SQL Server!!!! wooo * I THOUGHT WE WERE DISABLING SPARK SQL!!!!!!!!!!1 * Cleanup to get things ready for review. * Snowflake + Vertica shouldn't use output column numbers for ORDER BY in OVER * Code cleanup * Test fix? -
Cam Saul authored
-
- Apr 04, 2024
-
-
lbrdnk authored
* Enable not emptyable arguments for is-empty and not-empty clauses * Add review remarks * Shorten dataset name so it is usable with some drivers * Disable test for Athena * Handle possibly missing base type * Update comment * Missing base type field is treated as not emptyable * Update desugar middleware Now middleware adds base type to fields with integer id that are missing that first. This ensures correct function of is-empty expansion. * Update desugar middleware Cleanup base types necessary for desugaring is-empty * Update desugar middleware cleanup * Update test * Adjust tests * Remove now redundant e2e test * Update comment
-
- Apr 03, 2024
-
-
Ngoc Khuat authored
-
- Mar 26, 2024
-
-
Cam Saul authored
* Split from #40146: only the filter changes * Don't include format-rows changes here. * Test fixes
* Test fix * Misc test fixes * Test fix * Tweak SQL Server fix
-
- Mar 25, 2024
-
-
Tim Macdonald authored
* Remove unused marginalia aliases * Upgrade deps.edn From `neil deps upgrade` * Un-bump jetty-server * Downgrade H2 due to many problems * Dep bumping for Athena * Dep bumps for BigQuery * Dep bumps for Presto * Dep bumps for Redshift * Dep bumps for Snowflake * Dep bumps for SQLite * Upgrade to Mongo 5 * Bump next.jdbc
-
Ngoc Khuat authored
-
- Mar 22, 2024
-
-
Ngoc Khuat authored
-
- Mar 21, 2024
-
-
Cal Herries authored
-
Cam Saul authored
* Wow * Test fix
* Fixes * Actions should use strings for column names (fix :update-row and :create-row normalization) * MLv2 schema should check against keys for the other query type * Ok, have I fixed things? * More fixes * Fix indentation * Another round of test fixes. * Hopefully the last few test fixes * We need to test normalization for queries that have keyword keys as well. * Fix Cljs i18n namespaces * Sort namespaces * Only test against H2 * Rename `metabase.mbql` to `metabase.legacy-mbql` * Fix Kondo warnings * Test fixes * Register MBQL clause schemas and test fixes * Test fixes and PR feedback * Test fix * Remove the normalization tests * Test fixes * Fix kondo * Fix import * Another fix * Merge * FIXES * Add another missing REQUIRE
-
- Mar 20, 2024
-
-
Cal Herries authored
-
metamben authored
* Rename :model/Metric to :model/LegacyMetric * Rename ::lib.schema.metadata/metric tp ::lib.schema.metadata/legacy-metric * Rename models.metric/Metric to models.metric/LegacyMetric * Move /api/metric endpoints to /api/legacy-metric
-
Ngoc Khuat authored
-
- Mar 15, 2024
-
-
Cam Saul authored
* Wow * Test fix
* Fixes * Actions should use strings for column names (fix :update-row and :create-row normalization) * MLv2 schema should check against keys for the other query type * Ok, have I fixed things? * More fixes * Fix indentation * Another round of test fixes. * Hopefully the last few test fixes * We need to test normalization for queries that have keyword keys as well. * Fix Cljs i18n namespaces * Sort namespaces * Only test against H2 * Test fixes * Register MBQL clause schemas and test fixes * Test fixes and PR feedback * Test fix -
Victor Vieux authored
* Add alternative hostname support to snowflake * move hostname support out of additional details * Update modules/drivers/snowflake/src/metabase/driver/snowflake.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update modules/drivers/snowflake/src/metabase/driver/snowflake.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Update modules/drivers/snowflake/test/metabase/driver/snowflake_test.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * opt-in --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Case Nelson authored
* Fix duplicate native column nesting * Try wrapping source-query in WITH statement * Fix tests * Fix tests * Only wrap in with when needed * More fixes * Update names and comments * Address PR review
-
Ngoc Khuat authored
-
- Mar 14, 2024
-
-
Cal Herries authored
-
Cal Herries authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Mar 13, 2024
-
-
Ngoc Khuat authored
-
Cal Herries authored
-
- Mar 12, 2024
-
-
Ngoc Khuat authored
-
- Mar 11, 2024
-
-
dpsutton authored
* first move to a db api * mdb.spec into mdb * mdb.u/isa -> mdb.query/isa * mdb.u/qualify -> mdb.query/qualify * last of mbql.u -> mbql.query and
mbql.u * remove last of the mdb.connection/db-type and use from mdb/db-type * remove the last non-cmd usages of mdb.connection had some circularity in models.interface requires mdb/db-type for sql flavored "now" mdb requires db/setup which requires db/custom_migrations to ensure they are on cp custom migration requires json functions in models.interface so had to do a dynamic require for the db-type * get db-type from mdb not mdb.env * invoke `(mdb/app-db)` and not pass a var. lots of things fail * mdb.setup/migrate! into mdb with potemkin * remove get-connection. call .getConnection on the app-db perhaps invites clumsy usage outside of `with-open` if it's a top level function * namespace docstrings * last few and grab db.env/db-file into api ns * lint cleanup * addresses PR comments
-
- Mar 08, 2024
-
-
Cam Saul authored
* Keep fetch_source_query.clj * Copy fetch_source_query.clj into fetch_source_query_legacy.clj * Set back fetch_source_query.clj file * Convert QP to MLv2, part 1 * Keep legacy implementation around for time being * Port thru convert-to-legacy * expand-macros is converted to legacy * Test fixes
* Test fixes and better keys * Test fixes * Test fixes * More test fixes * Test fix? * Wow, maybe I finally fixed everything * Last few test fixes * PR feedback; lib.walk should support splicing in multiple replacement stages * Update fetch-source-query to use improved lib.walk * Have I fixed everything now? * Remove stray println * Another MongoDB fix * Remove the changes to expand-macros for now, we can do that in a follow-on PR. * Test fix * Test fix
-