starburstdata / metabase-driver

Starburst Metabase driver
Apache License 2.0
65 stars 10 forks source link

disable foreign key support #45

Closed andrewdibiasio6 closed 2 years ago

andrewdibiasio6 commented 2 years ago

Trino doesn't support inspecting foreign keys, so this PR overrides the driver/describe-table-fks function to just return nil. With this change, we avoid running extra needless queries during the metabase sync process.

Also, the current version of Metabase has some breaking dependencies so I had to bump metabase version to 1.44.0 and fix failing tests.

(Note: I will nee to squash these commits once approved)