-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch to Metabase v1.48.3 #120
Conversation
94bdfa4
to
a7cad00
Compare
👀 |
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.
LGTM, great work. Had one small comment.
@@ -33,7 +33,7 @@ | |||
:native-parameters true | |||
:expression-aggregations true | |||
:binning true | |||
:foreign-keys true | |||
:foreign-keys 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.
Is there a doc for this for my reference?
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.
No Metabase doc. I realized this when I found that all the tests checking foreign keys failed. And it turns out that, when using the Trino JDBC driver, DatabaseMetaData.getImportedKeys()
doesn't appear to work.
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.
I meant do that says Trino does not support Foreign Keys. I just can't find it in the official docs.
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.
One thing I'm researching in parallel is how come Presto Metabase driver supports foreign keys. It may be possible to have the Starburst driver support foreign keys, but it appears it never had.
Switch to Metabase v1.48.3
a7cad00
to
a29f529
Compare
Switch to Metabase v1.48.3. The following changes were made, as many new Metabase tests were added:
have-select-privilege?
was replaced withsql-jdbc.sync.interface/have-select-privilege?
as some tests could not find it. The test was also modified as the previous version didn't execute the actual querytoucan.db
(deprecated) withtoucan2.core
:foreign-keys
driver_test.clj
which removes those two tests which are not relevant to Starburst