Skip to content
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

Shim dbt-expectations macros #47

Merged
merged 18 commits into from
Jun 4, 2021
Merged

Shim dbt-expectations macros #47

merged 18 commits into from
Jun 4, 2021

Conversation

alieus
Copy link
Contributor

@alieus alieus commented May 27, 2021

No description provided.

dataders added a commit that referenced this pull request May 30, 2021
dataders added a commit that referenced this pull request May 30, 2021
Copy link
Contributor

@dataders dataders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very excited to have this package out! on my machine and on CircleCI it's failing with the NoneType error, but let's merge this and revisit down the line.

{%- set compare_group_by = group_by if not compare_group_by else compare_group_by -%}

{%- set n_cols = group_by|length %}
Copy link
Contributor

@dataders dataders Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@b-per maybe this is the needed change? I'm 80% sure we tried this though to no avail...

Suggested change
{%- set n_cols = group_by|length %}
{%- set n_cols = (group_by|length) if group_by else 0 %}

@alieus alieus merged commit 28822f1 into main Jun 4, 2021
@dataders dataders deleted the shim_dbt-expectations_macros branch November 12, 2021 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants