This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Nov 18, 2022
-
-
Nemanja Glumac authored
-
Alexander Polyankin authored
-
- Nov 17, 2022
-
-
Ngoc Khuat authored
-
Anton Kulyk authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
* Fix resetting inputs on data model page * Fix for failing test
-
Aleksandr Lesnenko authored
-
- Nov 16, 2022
-
-
Nick Fitzpatrick authored
-
Natalie authored
-
Nemanja Glumac authored
-
Cam Saul authored
* Move the config-from-file code into the advanced-config directory since that's the feature we want to flag on * Always apply the :settings section first in the config file * 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>
-
dpsutton authored
* Initial support for pg for `date-diff` * Make the useful-dates closer to one day * Add simple FE stuff * shorter test bodies * Ensure we can use datediff functions in arithmetic expressions * Correctly disable datediff for redshift * simplify var names * Support week * cleanup test * :datediff -> :datetimediff * ngoc's suggestions * Better acceptance test for datetimediff * sort ns * embrace the different cases for results * bigquery day month year * Reverse args * Update test * Centralize tests * Change postgres day, month, year behaviour * Refactor keep identity * Tidy tests * Tidy * Fix bigquery week * Add week tests * Fix bigquery week * Change mysql day, month, year behaviour * Add test for hour, minute, second * Fix postgres hour minute second * Formatting * Fix bigquery hour, minute, second * Formatting * Fix postgres timestamptz * WIP * Allow literals in datediff clauses * Uncomment tests * Fix bigquery when reporting timezone is not UTC * Linting * Moving away from dataset based tests * Add timezone tests for week and tidy * Remove unused import * Consolidate tests * Remove with-time-column dataset * Remove more-useful-dates defdataset * Remove redshift driver WIP * Typo * Move DatetimeLiteral clause into DateTimeExpressionArg * Try changing test order * Remove mt/with-report-timezone-id nil * Add year report timezone tests * Rename * Rename * Remove unused tables from useful-dates * Remove useful-dates * Update helper-text-strings * Tidy * Swap order of mt/with-report-timezone-id * Change with-report-timezone-id; notify databases after running test * Use temp setting for report-timezone instead * Update helper-test-strings * Handle literals in `datetimediff-base-base` * Update src/metabase/driver/postgres.clj Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> * Simplify postgres second * Tidy: prefer hx arithmetic functions * Drop coercion for string timestamp args for now * Extract helper * Revert "Change with-report-timezone-id; notify databases after running test" This reverts commit 7abb543bed13d9d13295d0e00ad1293a40e40d53. * Use ->timestamptz * Use hx/->timestamp * Rename dataset * Undo changes to datetime-arithmetics? as these will not match by default * Use proper format for offset datetime literals * Shorten datetime literals in tests * Removing notify-all-databases-updated from report-timezone setting * Fix datetime-arithmetics test * Revert "Fix datetime-arithmetics test" This reverts commit 9141582508170bdbe99c4aa74bc4444e41475be6. * Revert "Undo changes to datetime-arithmetics? as these will not match by default" This reverts commit 9cb05f5475b24a78cb89601c918f3440606cc525. * Add UTC timezone to tests * Coerce strings to datetimes for ISO formats * Revert "Removing notify-all-databases-updated from report-timezone setting" This reverts commit 37356435a2e3981deca9ae76118d857babb2aada. * Add comment to postgres driver implementation * Formatting * Disable datediff from redshift for the moment (for ever?) * Override redshift driver/database-supports? * Fix comments mixed up by refactoring * Fix comments mixed up by refactoring 2 * Tidy comment * Rename datetimediff to datetime-diff/datetimeDiff * date-add -> datetime-add * Linting * add datetime-subtract to `datetime-arithmetics?` rework tests a bit as well. * Update docstring * Use ->temporal-type and trunc to handle report-timezone for bigquery * Log errors caught during sync steps (#26306) * log errors caught during sync steps * remove accidental extra parens * Errors combining datetime interval addition with datetime functions (#26279) * Add failing tests * Fix failing tests * Update shared/src/metabase/mbql/util.cljc Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com> * datetime-add and datetime subtract should annotate type by col type * Fix infer-expression-type for datetime-add/subtract with second, minute, hour * Undo last commit; they actually always return :type/DateTime * Fix test based on last commit * Undo unrelated refactor * Only test drivers that support expressions * Only test drivers that support expressions, again * Update tests from legacy mbql * Change infered-col-type to be a function again, not macro * Fix test Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com> * whitespace * Remove comments * Add explanation for datetime_diff * Refactor: replace cast and add `mt/with-driver :bigquery-cloud-sdk` where report-timezone is relevant * Add failing tests * Fix failing tests * Technically it should be bigquery-type * Update modules/drivers/bigquery-cloud-sdk/src/metabase/driver/bigquery_cloud_sdk.clj Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com> * Move documentation to metabase.mbql.schema * Update DatetimeDiffUnits Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com> * Add error type and optimize case expressions to driver implementations * refactor for brevity * Fix error with postgres * Fix error with postgres * Handle string literal parsing in wrap-value-literals * Remove ->timestamptz * Add comments + TODOs showing arithmetic expressions should return numeric values * Add explanation of arithmetic expression as docstring * Add test for normalize-mbql-clause-tokens * Remove unused import * Remove unused form * Switch tests to use attempted-murders dataset * Undo optimization that broke tests * Validate non-temporal types for bigquery * Add error handling for incorrect types * Fix mysql type checking * Fix mysql type checking * invalid-parameter -> invalid-query * Use date-trunc and extract * Remove unit error handling * DatetimeLiteral -> DateOrDatetimeLiteral * Remove unused binding * Fix mysql type checking Co-authored-by:
Callum Herries <hi@callumherries.com> Co-authored-by:
Cal Herries <39073188+calherries@users.noreply.github.com> Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com> Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com> Co-authored-by:
Cam Saul <1455846+camsaul@users.noreply.github.com>
-
Gustavo Saiani authored
-
Gustavo Saiani authored
-
Noah Moss authored
* add app DB and version to common snowplow event context * use .getDatabaseProductName for db type * fix kondo error * add new instance schema with app db type and version fields * add maxLength to new fields * address cam's feedback
-
Nick Fitzpatrick authored
* Adding Color Picker for Metrics * Adding support for breakout charts * Addressing some PR Feedback * Adding pillSize to color picker components * Moving updateSeriesColor logic to visualizations/lib * Typing viz/lib/series * Final PR Feedback adjustments
-
Ngoc Khuat authored
-
Gustavo Saiani authored
-
Anton Kulyk authored
* Simplify null checks * Use actual `User` type in plugins file * Sort plugins file imports * Add `login_attributes` type to `User` * Convert user selectors to TypeScript * Make `currentUser` in `State` nullable * Simplify personal collection ID selectors * Handle nullable current user * Use `checkNotNull` to check nullable user object * Remove explicit `User` type in `checkNotNull` * Simplify `getIsSsoUser` selector
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Ngoc Khuat authored
- Add tests to check when bucketing by week and week-of-year behave consistently, Closes #4910 - While doing the above, found that sqlserver does not respect `start-of-week` setting, so fix that. Fix #25356
-
Nemanja Glumac authored
-
Nemanja Glumac authored
-
Cal Herries authored
* Create TemporalLiteral, DateOrDatetimeLiteral, TimeLiteral * Remove unused TemporalLiteralString schema * Add tests * Fix test for cljs * Only test clj
-
Aleksandr Lesnenko authored
-
- Nov 15, 2022
-
-
Nemanja Glumac authored
* Simplify filter glob pattern for frontend tests Take a look at the cheat sheet: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet '**/docs/**' matches `docs/hello.md` and `dir/docs/my-file.txt` * Ignore unrelated paths for `backend` workflow even in `master` * Ignore unrelated paths for `drivers` workflow even in `master` * Ignore clojure tests in E2E workflows * Increase the ignored paths scope for `uberjar` workflow
-
Nick Fitzpatrick authored
* Adding option to hide edit button on ChartSettingOrderedSimple component * Small Cleanup
-
Natalie authored
-
Natalie authored
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Nemanja Glumac authored
The docs say that Metabase scans the first X documents of a collection where X is first "ten thousand" and later "200", looking at the file with git blame the most recent value edited is "ten thousand" so I expect that to be the correct one. Co-authored-by:
Davide Lettieri <davide.lettieri@gmail.com>
-
Calvin Truong authored
- Removed non-content words to make sentence more concise. - Removed hedging between "your applications" and "or third party software" to increase confidence by reducing indirection; third-party applications is already mentioned in the details as well and redundant. - Emphasized "Hit" verb by starting the sentence with it. - Swapped "specialized" for "custom" to remove ambiguity and emphasize the user/developer's role in setting up the software.
-
Aleksandr Lesnenko authored
* fix showing placeholder series * row chart polish * wip * don't use nice x ticks for stacked expand chart * make grouped row not clickable * update specs * update specs
-
Ikko Ashimine authored
infomation -> information
-
Gustavo Saiani authored
-
Nemanja Glumac authored
-
- Nov 14, 2022
-
-
Braden Shepherdson authored
This also changes the semantics of `metabase.models.serialization.base/load-find-local` to return the whole entity, not just the ID. `load-one!` always needs the whole entity (if it exists) anyway, and some of the `load-find-local` implementations had the entity already loaded but just passed along the ID. This saves some double lookups, especially for inlining eg. `DashboardCard`s under `Dashboard`.
-