snowplow / dbt-snowplow-utils

Snowplow utility functions to be used in conjunction with the snowplow-web dbt package.
Other
13 stars 6 forks source link

Feature/add index to unnest and array size macro #156

Closed agnessnowplow closed 9 months ago

agnessnowplow commented 10 months ago

Description & motivation

This pull request is to support the new marketing attribution package. It adds a new cross-db macro to get the array size and also adds the optional functionality to retrieve the index number (starting from 0) for the unnest() macro. This latter currently only supports Snowflake the rest needs testing/to be added hence it's currently draft pull request.

Checklist