-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix support for Metabase CI and future-proof DDL statements #273
Conversation
|
||
(defmethod sql.tx/pk-sql-type :clickhouse [_] "Int32") | ||
|
||
(defmethod sql.tx/add-fk-sql :clickhouse [& _] nil) | ||
|
||
(defmethod sql.tx/session-schema :clickhouse [_] "default") | ||
|
||
(defmethod tx/supports-time-type? :clickhouse [_driver] false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is replaced by the :test/time-type
feature.
523c8fa
to
3543dfc
Compare
Shall we wait until 0.51 and merge after that? |
I think after metabase/metabase#48233 merges we'll be good to release after its following point release. Will rerun the suite locally after the backport is merged. |
The upload test suite is fully passing with this change on v50 now 😄 (The changes to test/data need to be rolled back to run them though) |
Summary
This PR started as future proofing for an upcoming HoneySQL update which requires explicit quoting of identifiers in some cases.
As part of this work I got the main Metabase upload's test suite running against the driver. This required some updates to the driver to track interface changes, and also revealed some small bugs, which have also been fixed.
NOTE: this version will not be safe for v50 without further changes.Confirmed that this works with the upcoming version of v50.Checklist