Closed svdimchenko closed 5 months ago
@svdimchenko have a look at the CI, there are some issues that needs to be addressed.
@svdimchenko have a look at the CI, there are some issues that needs to be addressed.
I see there is problem with https://github.com/dbt-athena/dbt-athena/blob/49896c21361ea74bb28aa1ee184c19f01d746776/tests/unit/test_adapter.py#L417-L417
do we have a use case when we need to create table without type ?
As far as I remember there are specific scenarios (like external catalogs) where you can have tables without type, so yes, we should cover that scenarios.
As far as I remember there are specific scenarios (like external catalogs) where you can have tables without type, so yes, we should cover that scenarios.
I just see that this may conflict with get_table_type method. Which table_type should we get for such case ?
I just see that this may conflict with get_table_type method. Which table_type should we get for such case ?
We can create UNKNOWN or something like that for case where the table type is None, alternatively we map to table even for None cases... Alternatively, we can also change the unit tests to assert the value error on those cases ;) - I honestly don't recall the edge case.
@svdimchenko final comment, https://github.com/dbt-athena/dbt-athena/pull/661#discussion_r1617360774 the rest looks good, thanks for the refactor.
Description
with following table
I've got an error on
dbt docs generate
:I've added GOVERNED table type and improved logging as well
Checklist