This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 18, 2024
-
-
Nemanja Glumac authored
-
- Jun 05, 2024
-
-
Jeff Bruemmer authored
-
- Jun 04, 2024
-
-
Jeff Bruemmer authored
-
- May 30, 2024
-
-
Cam Saul authored
* Remove Google Analytics driver * Remove more GA-related tests * Un-remove tests that aren't related to GA
-
- May 15, 2024
-
-
Jeff Bruemmer authored
-
- Apr 29, 2024
-
-
Jeff Bruemmer authored
-
- Apr 02, 2024
-
-
Leo Paillier authored
-
- Mar 25, 2024
-
-
Jeff Bruemmer authored
-
- Mar 21, 2024
-
-
Alex Yarosh authored
* sort expression functions by use case * custom expression edits * formatting cleanup * fix link * Apply suggestions from code review Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> * address comments --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
- Jan 19, 2024
-
-
Jeff Bruemmer authored
-
- Nov 07, 2023
-
-
Jeff Bruemmer authored
-
- Oct 03, 2023
-
-
Jacob Joseph authored
added an example of rounding with a decimal place
-
- Sep 27, 2023
-
-
Jeff Bruemmer authored
* x-ray updates * remove image link
-
- Aug 16, 2023
-
-
Jeff Bruemmer authored
-
- Aug 11, 2023
-
-
Jeff Bruemmer authored
-
- Aug 09, 2023
-
-
Jeff Bruemmer authored
-
- Jul 13, 2023
-
-
Jeff Bruemmer authored
-
- Jul 04, 2023
-
-
john-metabase authored
This reverts commit 9da0bd76.
-
- Jun 29, 2023
-
-
Mark Bastian authored
-
- Jun 20, 2023
-
-
Maz Ameli authored
* change Data Model to Table Metadata * update doc references to the page * change name of manage data model permission * fix lint error * fix tests
-
john-metabase authored
-
- Jun 02, 2023
-
-
Natalie authored
-
- May 16, 2023
-
-
Cal Herries authored
-
- May 11, 2023
-
-
Natalie authored
-
- Apr 25, 2023
-
-
Jeff Bruemmer authored
-
- Apr 12, 2023
-
-
Nemanja Glumac authored
* Update the position description of "clear all filters" * Add missing links to `models` page
-
- Mar 23, 2023
-
-
Natalie authored
-
- Mar 13, 2023
-
-
Natalie authored
-
- Mar 10, 2023
-
-
Natalie authored
-
- Feb 22, 2023
-
-
Jeff Bruemmer authored
[ci skip]
-
- Feb 21, 2023
-
-
john-metabase authored
* Improves consistency of substring in MBQL Standard SQL SUBSTRING() uses a 1-based start index, with various drivers handling a 0 start index in different ways. To make the behavior of substring consistent across drivers, we will always convert a 0 start index in MBQL to a 1 in SQL. The ->honeysql implementation of substring has been generalized and drivers can now override just the name of the substring function, or the entire expression if necessary. SQL Server now calls the parent implementation. Resolves #12445 * Fixes substring from 0 in Mongo * Adds arg to substring parent call * Fix docs and helper text for substring() * Adds schema to require positive integer index for substring * WIP, adds frontend validation for substring index arg * Adds frontend test for substring arg validation * Updates substring test to expect exception on index 0 * Update src/metabase/driver/sql/query_processor.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Use s/if instead of s/conditional * Fix substring call in mysql substring spec * Reverts driver and sql.qp changes for substring index * Reverts changes to dispatch-by-clause-name-or-class * Fixes typeinferencer test substring index * Adds test for canonicalizing substring * Fixes substring canonicalization with extra args * Updates string extracts test to account for substring canonicalization * Rewrites resolver validation application * Adds test case for frontend expression validation errors * Fixes frontend compiler spec for new substring validation --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
- Jan 30, 2023
-
-
Natalie authored
-
- Jan 25, 2023
-
-
Natalie authored
-
- Jan 05, 2023
-
-
Cal Herries authored
-
- Jan 03, 2023
-
-
Case Nelson authored
* Fix mongo version checking for now * Add minor versions for comparison * Handle nil case * newline * Replace _ * Use dbms-version semantic-version instead * Compare only the major and minor version * Fix mongo database-supports? * Fix duplicate require * Fix typo * Remove expressions from version check * Fix various mongo expressions `trim`, `rtrim`, `ltrim` needed to be wrapped in `{"input" expr}` object `replace` needed to be wrapped in `{"input" expr "find" ... "replacement" ...}' object `substring` needed to fill in the 3rd argument, optional in mbql but required in mongo. Also to use a 1 based index * Generalize semantic-version-gte * Used synced dbms_version for testing feature support * Expressions are only supported by mongo 4.2+ * Disable some tests * Fix mongo division Handle nulls with an upfront condition check. Handle multiple divisors. * Remove unused namespace * Throw exeception if using replace on mongo < 4.4 * Skip test because of #27249 * Move minimum Mongo CI version to 4.2 * Fix sorting by expressions $sort needs to come before $project otherwise we can only see the projected fields, however expressions are only added in $project. So now if a sort includes an expression, we will use $addFields to be able to sort by that expression. * Disable tests for expressions inside aggregations To be addressed by #27275 * Handle aggregation nested in an expression * Remove :truncation-start workaround * Enable tests for expressions inside aggregations * Fix datetime-math-tests * Make sure dbms_version is included when fetching database for store * Update doc for replace to indicate it should replace all occurrences * Fix order-by-test * Handle embedded special aggregations (#27315) * Handle embedded special aggregations * Preserve aggregation options for nested aggregations * Use top-level aggregation name as group name * Disable nil punning on semantic version check (#27317) * Optimize produced query for division when dividing by literals * Rename var * Use reduce to build division * Fix reduction * Clean up formatting and document some details Co-authored-by:
Callum Herries <hi@callumherries.com> Co-authored-by:
Tamás Benkő <tamas@metabase.com> Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
- Dec 14, 2022
-
-
Natalie authored
-
Jeff Bruemmer authored
-
- Dec 12, 2022
-
-
Cal Herries authored
* Add quarter for postgres * Add quarter to schema * Add quarter tests * Add quarter for mysql * Add quarter for bigquery * Add quarter for snowflake * Add quarter for redshift * Add quarter for vertica * Add quarter for sqlserver * Add quarter to docs * Fix snowflake implementation * Make time zone dataset smaller * Revert "Make time zone dataset smaller" This reverts commit 4c97048d6c01e0f83b259a00c39d34169036fe77. * Revert "Revert "Make time zone dataset smaller"" This reverts commit d1b8fc49c8bf86fecd9897a7c4f496dbdb1b9b06. * Fix test for drivers not supporting set-timezone
-
- Dec 06, 2022
-
-
Jeff Bruemmer authored
-
Cal Herries authored
* Fix formatting for datetime function docs * Undo datetimeAdd and datetimeSubtract
-