dacort / metabase-athena-driver

An Amazon Athena driver for Metabase 0.32 and later
Apache License 2.0
225 stars 32 forks source link

Managed Tables are Not Synced in Metabase #91

Closed jpugliesi closed 2 years ago

jpugliesi commented 2 years ago

We have some AWS Glue tables that are Managed tables, as opposed to External tables (see the difference described here in the Hive docs)

Using this driver, only external tables are successfully synced and show up in Metabase - managed tables never do. I couldn't find this behavior documented anywhere, so wanted to clarify if this a known limitation and/or what it would require to support this.

In any case, appreciate this project and its contribution to extending the Metabase ecosystem

dacort commented 2 years ago

Yep, it's hard-coded here to only look for certain table types.

We could probably add managed tables (MANAGED_TABLE) to that list.

jpugliesi commented 2 years ago

Thanks for the help @dacort - created https://github.com/dacort/metabase-athena-driver/pull/93 to address this