dbt-labs / dbt-snowflake

dbt-snowflake contains all of the code enabling dbt to work with Snowflake
https://getdbt.com
Apache License 2.0
296 stars 176 forks source link

Add snowflake telemetry. #1209

Closed VersusFacit closed 3 weeks ago

VersusFacit commented 1 month ago

Related to https://github.com/dbt-labs/dbt-adapters/issues/301

Problem

We need a snowflake override to get the data for snowflake.

Solution

Override the base class method.

Checklist

VersusFacit commented 1 month ago
image

Note my base adapter was 1.7.X so we have the overrides right!

And it's the core tracking function that is using the Snowflake override :D

My local env for testing.

image
VersusFacit commented 4 weeks ago

I suppose it's worth adding a unit test (done) because this gives us extra security with base adapter / core calls that could be tripped up through many layers of indirection.