Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 19, 2017
  2. Jul 17, 2017
  3. Jul 14, 2017
  4. Jul 12, 2017
  5. Jul 11, 2017
  6. Jul 10, 2017
  7. Jul 07, 2017
  8. Jul 06, 2017
    • Ryan Senior's avatar
      Explicitly load driver code and fail tests when driver is present · fd99b1af
      Ryan Senior authored
      Driver loading previously was very dependent on what code clojure
      compiled first. If the Oracle driver was loaded before the plugin
      directory was examined, it would result in the Oracle driver never
      being loaded. This is due to clojure code only being loaded once when
      required and the driver loading code being free floating code that is
      only evaled when the namespace is loaded.
      
      This commit switches that code to be in an -init-driver function that
      is invoked when the driver is required. This ensures that regardless
      of code loading order, the driver will be available if it's present.
      
      This commit also includes code to fail the build if requested to test
      on an engine when that engine's driver is not available. Previously if
      you set ENGINES to "h2,oracle" but had no Oracle driver in the plugins
      directory, the test would succeed, but only test against H2.
      fd99b1af
    • Ryan Senior's avatar
      Unify test application db environment variables [ci drivers] · 72da0717
      Ryan Senior authored
      This unifies the code and the environment variables for specifying
      test database connection parameters across all supported
      databases. Existing databases that supported environment variables for
      tests have been refactored to use the new environment variable
      names. All of the connection environment variables are named similar
      to:
      
      MB_<DBNAME>_TEST_<PARAM>
      
      For user on MySQL, the variable would be named:
      
      MB_MYSQL_TEST_USER
      72da0717
  9. Jul 05, 2017
  10. Jun 27, 2017
  11. Jun 26, 2017
    • Ryan Senior's avatar
      Add the "bin-width" binning strategy · c5b93e31
      Ryan Senior authored
      In MBQL you can now specify a bin-width binning strategy with a
      specified bin-width and the BinnedField will bin using that
      information.
      
      This commit also changes the existing behavior of the "default"
      binning strategy. When default is specified (for now) this uses the
      "num-bins" strategy with the globally set default number of
      bins (specified via setting). Specifying num-bins or bin-width
      requires an extra parameter specifying the number of bins or the bin
      width. Only default uses the global setting.
      c5b93e31
  12. Jun 22, 2017
  13. Jun 21, 2017
  14. Jun 20, 2017
  15. Jun 14, 2017
  16. Jun 13, 2017
Loading