Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 28, 2020
  2. May 26, 2020
  3. May 14, 2020
  4. May 13, 2020
    • Cam Saul's avatar
      Support dashboard params for Cards with nested queries (#12531) · 85d29f2d
      Cam Saul authored
      * Fix #12501
      
      * Make sure Query results_metadata comes back with inferred base type from annotate
      
      * Support filtering against questions that use another question as their source [ci drivers]
      
      * Test fixes :wrench:
      
      * Lint fix [ci drivers]
      
      * Clean up metabase.query-processor.parameters.mbql-test
      
      * Tweak codecov requirements [ci drivers]
      Unverified
      85d29f2d
  5. May 11, 2020
  6. May 04, 2020
    • Robert Roland's avatar
      Allow a driver to customize the query remarks (#12422) · de6ea1a4
      Robert Roland authored
      * Allow a driver to customize the query remarks
      
      This allows driver-specific metadata to be added to each query. If the
      driver can apply the default metadata, it should call
      default-query->remark
      
      Removed timezone test that isn't testing the driver itself, since the
      driver doesn't specify a default timezone
      
      Removed deprecated code from the redshift test
      
      Leave the original parameters from the front-end as :user-parameters so
      that they are accessible down in the drivers
      
      Transform the original parameters into the field_values in the query
      remark
      Unverified
      de6ea1a4
  7. Apr 20, 2020
  8. Apr 14, 2020
  9. Mar 31, 2020
    • Simon Belak's avatar
      MBQL: add more math functions (#12096) · 0ce8ba5e
      Simon Belak authored
      
      * Add more math functions to MBQL [ci drivers]
      
      * Add non-default implementations [ci drivers]
      
      * Add non-default implementations [ci all]
      
      * More lenient schema [ci drivers]
      
      * Add type hints [ci drivers]
      
      * Fix tests [ci all]
      
      * Fix tests [ci all]
      
      * Presto: stddev_samp -> stddev_pop [ci all]
      
      * Fix indentation [ci all]
      
      * Add tests [ci drivers]
      
      * Don't support percentile in H2 [ci drivers]
      
      * Fix tests [ci all]
      
      * Fix mssql [ci drivers]
      
      * FE support for new functions
      
      * Fix mssql [ci drivers]
      
      * Fix mssql [ci drivers]
      
      * Fix unit test
      
      * Implement code review suggestions [ci all]
      
      * Fix vertica [ci drivers]
      
      * FE: add length & rename expt -> exp [ci drivers]
      
      * Don't i18n displayName [ci drivers]
      
      * FE fixes
      
      * Cleanup aggregation/filter type predicates, isStandard, isMetric/isSegment, and isCustom
      
      * Test: alow expressions in filters
      
      * Alow expressions in filters [ci drivers]
      
      * Allow expressions in :between [ci drivers]
      
      * Allow expressions in :inside [ci drivers]
      
      * Fix log [ci drivers]
      
      * h2: use log10 [ci drivers]
      
      * Fix mssql & spark [ci drivers]
      
      * fix hive [ci drivers]
      
      * Don't reuse :percentile name [ci drivers]
      
      * Fix filter methods
      
      Co-authored-by: default avatarTom Robinson <tlrobinson@gmail.com>
      Unverified
      0ce8ba5e
  10. Mar 06, 2020
    • Tom Robinson's avatar
      Expressions: filter expressions, case statements, string extracts, and share aggregations (#11868) · 09001d6c
      Tom Robinson authored
      
      * Upgrade Chevrotain to v6.5.0
      
      * Switch from embedded actions to visitor
      
      * rename tokens to lexer, remove no-longer needed Chevrotain hack from webpack.config.js
      
      * get tests passing again
      
      * progress converting syntax parser
      
      * got intermediate Sum(A) test passing
      
      * more progress on parsing expressions
      
      * get complex expression passing
      
      * prettier
      
      * linting
      
      * Add TokenizedExpression snapshot test
      
      * Add support to parser for recovering whitespace tokens
      
      * Add case clause [ci all]
      
      * fix test [ci all]
      
      * Harden test [ci all]
      
      * More tests [ci all]
      
      * Correctly infer case return type [ci all]
      
      * Fix test [ci all]
      
      * Fix tests [ci all]
      
      * Improved syntax parser
      
      * More parser cleanup + start adding filters and functions
      
      * Add CASE and partial filter support, cleanup tests
      
      * Add string extracts [ci all]
      
      * Typo [ci all]
      
      * Make linter happy [ci all]
      
      * Add regex-match-first [ci all]
      
      * Fix arglist [ci all]
      
      * Fix test [ci all]
      
      * Add sum-where count-where and share support. Refactor aggregation tokens
      
      * Fix tests [ci all]
      
      * Add ns prefixes [ci all]
      
      * Add ns qualifiers [ci all]
      
      * Fix trim [ci all]
      
      * Tests: ensure stable ordering of results [ci all]
      
      * Fix trim [ci all]
      
      * Support only 1-arg trim [ci all]
      
      * Fix ns prefixes [ci all]
      
      * Fix psql [ci all]
      
      * Fix redshift [ci redshift]
      
      * Refactor/simplify grammer to consolidate aggregation, expression, and filter functions
      
      * Add isCase to isExpression
      
      * Directly splice regex pattern for psql & redshift [ci all]
      
      * Fix schema [ci all]
      
      * Redshift: splice replace args [ci redshift]
      
      * Add ns prefix [ci redshift]
      
      * Typo [ci redshift]
      
      * Filter expressions
      
      * Add metrics and segments back in to expressions
      
      * Disable tokenized editing
      
      * Update tests to clojure.test [ci all]
      
      * Add concat to sqlite [ci all]
      
      * Add length [ci all]
      
      * Add missing ns [ci all]
      
      * Fix test [ci all]
      
      * Fix messed up multimethods [ci all]
      
      * Fix mssql [ci all]
      
      * Fix sqlite concat [ci all]
      
      * sqlite: correctly qoute literal strings [ci all]
      
      * Misc improvements to syntax highlighting etc
      
      * Cleanup tests [ci all]
      
      * Reoder defs [ci all]
      
      * Make linter happy [ci all]
      
      * Mongo: add case [ci mongo]
      
      * mongo: fix switch [ci mongo]
      
      * typo [ci mongo]
      
      * Improve syntax highlighter and suggestions
      
      * Mongo: always have default fallback in case [ci mongo]
      
      * Rearrange test to split out ones using expressions [ci mongo]
      
      * Remove uneeded merge [ci all]
      
      * misc
      
      * Much improved syntax highlighting using recovery mode and partial CST
      
      * Improved suggestions
      
      * try monospace font for expressions
      
      * Better typing in parser, various other fixes
      
      * Avoid parsing multiple times
      
      * Fix tests
      
      * Fix tests
      
      * More test fixes
      
      * Special case for UnderlyingRecords drill with sum-where/count-where/share
      
      * switch back to square brackets for identifiers
      
      * change extract to regexextract
      
      * Lift expressions to subselect [ci all]
      
      * Commit on enter
      
      * rename extract to substitute, fix tests
      
      * Refactor [ci all]
      
      * Fix normalization [ci all]
      
      * Correctly handle joins [ci all]
      
      Co-authored-by: default avatarDaniel Higginbotham <daniel@flyingmachinestudios.com>
      Co-authored-by: default avatarSimon Belak <simon@metabase.com>
      Co-authored-by: default avatarMaz Ameli <maz@metabase.com>
      Unverified
      09001d6c
  11. Feb 10, 2020
Loading