This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jan 04, 2023
-
-
Alexander Polyankin 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>
-
Cam Saul authored
* [Toucan 2 Prep] Add helper for extending `IModel`; namespace Toucan properties * Clean namespaces * Test fixes
* [Toucan 2 Prep] Add `define-*-hydration-method` macros * Sort namespaces * Disable Eastwood `:unused-private-vars` linter -
Luis Paolini authored
Simplify the main Dockerfile removing custom circleci images
-
Bryan Maass authored
- add the rest of malli reserved aliases - malli.util :as [mu -> mut] (had collision with metabase.util.malli)
-
Cam Saul authored
* [Toucan 2 Prep] Add helper for extending `IModel`; namespace Toucan properties * Clean namespaces * Test fixes
-
Cal Herries authored
* Add datetime-diff implementation for athena * Don't run some tests for drivers not supporting timestamptz * Fix for date types * Use date-trunc helper * Add comment about Athena's timestamp with time zone type * Add datetime-diff-time-zones-athena-test * Fix typo * Fix typo * Rewrite comment * Tidying * Add athena-datetime-diff-mixed-types-test * Fix typo * Adjust comments + formatting * Adjust comments * Format SQL query * Align requires
-
Cal Herries authored
* Add sqlite datetime-diff * Refactor sqlite * Exclude sqlite from datetime-diff-type-test * Fix sqlite temporal fields losing type info on sql.qp->honeysql * Leave the default impl for sql.qp/date
-
Cal Herries authored
* Add oracle datetime-diff * Remove duplicate method impls * Remove unused require
-
- Dec 31, 2022
-
-
metamben authored
-
- Dec 29, 2022
-
-
Bryan Maass authored
* docstring to highlight partial graph acceptance - updates how we decode the incoming graph * sort ns * Update src/metabase/api/collection.clj Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> * code review responses Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
Bryan Maass authored
The new macro is called defendpoint. The previous defendpoint is now defendpoint-schema, as per @camsaul's idea. It'll make it easier to realize that we should use the Malli version of defendpoint going forward. * adds malli defendpoint + linting + tests - I decided to add a new defendpoint macro -- it is nearly exactly the same as `defendpoint`. If the duplication is an issue I can handle that too. * malli-defendpoint -> defendpoint-malli * defendpoint -> defendpoint-schema * defendpoint-malli -> defendpoint * fine tuning error messages + comments - fix kondo config * put back dox-for-plumatic * fix name collision * adds local malli description ns + test * update alias in test * linting fix * linting fix pt. 2 * hook up umd/describe
-
Noah Moss authored
-
metamben authored
It seems the expectation was that the binding *execute-asynchronously* to false in the test would affect the binding seen by the server. Instead of this a new parameter is added to the request that makes the server return only when the asynchronous operation has completed.
-
metamben authored
- resources/certificates/rds_root_ca_truststore.jks was used for testing Oracle but is not needed any more - cacerts_with_RDS_root_ca.jks does not seem to be used either
-
Bryan Maass authored
* adds mu/defn, which behaves like s/defn but for malli schemas - includes link to malli.io with your schema and type.
- making room for some namespaces * require and use malli.destructure in mu/defn * fix require alias * clean ns * fix linter errror * fix linter error again -
Noah Moss authored
* standardize ns formatting in all src/ namespaces * small fixes * test formatting * enterprise files * fix whitespace linter error * fix kondo error * bin files * reformat shared files * fix errors * fix another error * mostly fix import to use parenthesis and have it at a new line * fix wrong spacing Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
-
Nemanja Glumac authored
-
metamben authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Ikko Ashimine authored
comparision -> comparison [ci skip]
-
- Dec 28, 2022
-
-
Nemanja Glumac authored
This reverts commit a63f9bd1.
-
metamben authored
* Use gvenzl/oracle-xe docker to test Oracle * Configure SSL connection for Oracle 21.3 * Fix secret handling
-
Cam Saul authored
* Fix BigQuery parsing of `bigdecimal` results * Avoid big changes to `ns` form * Update tests
-
Nemanja Glumac authored
-
- Dec 27, 2022
-
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
- Dec 26, 2022
-
-
Nemanja Glumac authored
* Do not run backend workflow when in draft mode * Do not run FE unit tests when in draft mode * Let BE `kondo` linter run even in the draft mode * Run `be-java-11-ee` even in the draft mode * Remove `matrix` from the job condition * Add `java-11-ee` pre-check in draft mode * Run both BE and FE workflows when PR is marked for review * Name the pre-check java-11 job accordingly
-
Nemanja Glumac authored
-
Cam Saul authored
* Switch back to main fork of `clojure.java-time` and bump version * Run uberjar build steps in one command (faster CI) * Fix `truncate-to` for new version of `clojure.java-time`
-
- Dec 25, 2022
-
-
Nemanja Glumac authored
We were 4 major versions behind. There were a lot of breaking changes, but none that affect how we use this library.
-
- Dec 24, 2022
-
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
- Dec 23, 2022
-
-
Jeff Bruemmer authored
-
Nemanja Glumac authored
-
Anton Kulyk authored
* Add action related stuff to database types * Add utils checking actions support and state * Ensure database's `getPlainObject` returns db type * Add models actions section to database sidebar * Address feedback
-