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

Fix missing group_by default value in string_matching macros #126

Merged

Conversation

samantha-guerriero-cko
Copy link
Contributor

@samantha-guerriero-cko samantha-guerriero-cko commented Nov 16, 2021

Fix for issue #125.

Problem: All the methods in macros/schema_tests/string_matching/ define a group_by_columns=group_by functionality, but group_by is not defined in the method which makes them fail with 'MacroGenerator' object is not iterable.

Solution: we set group_by = None as it's not used by the method.

@clausherther clausherther linked an issue Nov 16, 2021 that may be closed by this pull request
@clausherther clausherther self-requested a review November 16, 2021 14:20
Copy link
Contributor

@clausherther clausherther left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@clausherther clausherther merged commit 19726bb into calogica:main Nov 16, 2021
@clausherther
Copy link
Contributor

@samantha-guerriero-cko thanks for the super quick turnaround here! Will do a release later today, but may take a bit before it shows up on the dbt package hub.

@samantha-guerriero-cko samantha-guerriero-cko deleted the fix-missing-group-by branch November 16, 2021 14:25
@samantha-guerriero-cko
Copy link
Contributor Author

thank you @clausherther 💪

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.

Error in macros/schema_tests/string_matching/*
2 participants