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

Allow columns to be renamed regarding conversion events #211

Closed
4 tasks done
ryan-systematik opened this issue May 25, 2023 · 0 comments
Closed
4 tasks done

Allow columns to be renamed regarding conversion events #211

ryan-systematik opened this issue May 25, 2023 · 0 comments

Comments

@ryan-systematik
Copy link

Description & motivation

Current Issue:

Build of stg_ga4__page_conversions model fails when the value set for conversion_events is a special character that does not correspond to a column name.

Soluton:

Define a new optional variable conversion_event_column_renamers whose key matches conversion_events and assign the column name renamed at query generation time.

Checklist

  • I have verified that these changes work locally
  • I have updated the README.md (if applicable)
  • I have added tests & descriptions to my models (and macros if applicable)
  • I have run dbt test and python -m pytest . to validate existing tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants