-
Notifications
You must be signed in to change notification settings - Fork 103
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
feat: add detailed_table_type
property to list_relations_without_caching
function
#513
feat: add detailed_table_type
property to list_relations_without_caching
function
#513
Conversation
detailed_table_type
property to list_relations_without_caching
function
@sanromeo nice, could you add some unit tests and functional tests if possible? For the functional tests you can add 2 models, one that is iceberg, there other calls the macro and return the detailed table type |
@sanromeo thanks, also have a look at the ci failures, seems that unit tests are broken |
…ithout_caching, add assertions for detailed_table_type parameter
…ns_without_caching function
@nicor88 I've added functional test for |
…o-list-relations-without-caching-method
…tions-without-caching-method
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.
@sanromeo thanks for your contribution, looks good to me.
Description
In
dbt/adapters/athena/impl.py
, I've added new parameter to additionally handle thetable_type
attribute for Iceberg tables. The update add new optional parameterdetailed_table_type
which gets from Table["Parameters"]["table_type"] dictionary if it not exists - setdetailed_table_type
toNone
.I've extended the AthenaRelation class in
dbt/adapters/athena/relation.py
to include a new optional attributedetailed_table_type
. This attribute holds the specific type of table as described in the table's parameters in the Glue Catalog, providing more detailed context about the Athena relation.Resolves: #511
Checklist