This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 14, 2024
-
-
Braden Shepherdson authored
- `:metadata/key-constraints` for those databases which formally track PK and FK key constraints. Some databases (eg. Presto/Athena/Starburst family) don't support constraints like that, but do support querying based on foreign keys (which is the `:foreign-keys` feature). - `:connection/multiple-databases` for databases where a single connection can connect to many databases. This is the case for Athena, since it connects to an S3 bucket and exposes all files in the bucket as databases through that single connection. - Also removed a troublesome "all DBs except a huge list" case in the SSH tunnel tests with a shorter list of supported drivers.
-
- May 10, 2024
-
-
Cam Saul authored
* Remove unused `metabase.api.transform` * Copy the deps graph improvements from my other PR * New combined X-Rays API namespace * Fix kondo error
-
- May 07, 2024
-
-
Cam Saul authored
* Only nest expressions referenced in breakouts or aggregations * Test fixes
* Oracle test update * Improved Oracle test -
Ngoc Khuat authored
-
- May 05, 2024
-
-
lbrdnk authored
-
- May 03, 2024
-
-
Ngoc Khuat authored
-
Cam Saul authored
MLv2: Simplify MetadataProvider protocols (16 methods/3 protocols => 7 methods/2 protocols) (#42070) * Simplified MetadataProvider protocol * Test fix * Ok make CachedMetadataProvider a separate schema again after all. * Consolidate the Metadata schemas * Clean Kondo warnings * Malli-ify the stuff in metabase.lib.metadata.protocols * Fix Kondo warnings * Test fix
* PR feedback
-
- May 02, 2024
-
-
Ngoc Khuat authored
-
Ngoc Khuat authored
* Comment out failing snowflake test sync-dynamic-tables-test * unrelated indent
-
- Apr 30, 2024
-
-
Cam Saul authored
* Fix Snowflake filtering on date for `timestamp with time zone` columns * Snowflake should just generate raw SQL for literals * Go ahead and fix other Snowflake stuff and reenable a bunch of disabled tests * Snowflake test fixes
* Minor test improvements * Fix Redshift and Vertica as well. * Address PR feedback
-
- Apr 29, 2024
-
-
lbrdnk authored
* Update resolve-private-key and add test
-
Cam Saul authored
* 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 * FE for Offset() * Cleanup stray code * Prettier * Kondo * Test fixes
* Better error message when no breakout * Support offset as an expression with no breakouts. Still require an ORDER BY tho. * Fix most stuff * Hack city?????? * Revert nest-query changes and disable the offset-no-breakout test for now. * Appease TypeScript * Test fix * Oracle & MySQL test fixes * Test fixes * Remove maxWorkers for FE unit tests -
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
-