Closed outinim closed 3 months ago
Something like this is better ? Thanks for the reviews guys
Sorry for the delay in taking a look at your changes. This is looking a lot better, and I've just got the one new comment.
It'd also be great if you'd be able to add some tests around this, although I'd be willing to merge this without them given the small scope of the changes.
Description
When I do snapshots on a table on which i add columns: it use the function (if I read correctly the file dbt/include/mariadb/macros/materializations/snapshot/snapshot.sql)
{% do create_columns(target_relation, missing_columns) %}
which compiles into (for my source tableusers
with a new columnteam
) intoalter table
sandbox.users_snapshotadd column "team" varchar(10);
But it needs to be add columnteam
to work in mysqlChecklist
CHANGELOG.md
with information about my change