Cam Saul
Cam Saul
Here's the code from Metabase: ```clj (defn do-with-model-cleanup [models f] {:pre [(sequential? models) (every? models/model? models)]} (hawk.parallel/assert-test-is-not-parallel "with-model-cleanup") (initialize/initialize-if-needed! :db) (let [model->old-max-id (into {} (for [model models] [model (:max-id (db/select-one...
https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
Also: https://dev.mysql.com/doc/refman/8.0/en/replace.html
Or maybe you can just call them like `(define-before-select :my-model nil)` to remove the before-select
I think you have to put all of your `Fixes #issue` on different lines otherwise it's not going to link them to this PR and close them automatically
Ok I was thinking about doing the Metric => Card migration in SQL a little more and the only real tricky part here is populating `dataset_query`, in Postgres using native...
Ok so I guess I misspoke a bit and the version of H2 we're using doesn't have enough JSON functions to make this work with native JSON manipulation in H2....
Use case: https://github.com/ClickHouse/metabase-clickhouse-driver currently has to hardcode the entire list of tests to run because they need to skip 4 or 5 tests that don't currently work with Clickhouse
I think this might be covered by #1543
It seems like showing the options for binning a custom expression was a regression. It's not currently implemented in the backend at any rate, which is why it has no...