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

Add a special as_text filter to the native env (#2384) #2395

Merged
merged 3 commits into from
May 4, 2020

Commits on May 4, 2020

  1. Add a special as_text filter to the native env that tells dbt to rend…

    …er the value as a string no matter what.
    
    Use like "{{ 1991 | as_text }}" -> "1991"
    Also, moved the weird special quoting handling logic out and instead avoid calling the renderer on column_name arguments
    Jacob Beck committed May 4, 2020
    Configuration menu
    Copy the full SHA
    0961bdb View commit details
    Browse the repository at this point in the history
  2. add missing as_text to sources tests

    Jacob Beck committed May 4, 2020
    Configuration menu
    Copy the full SHA
    af5af82 View commit details
    Browse the repository at this point in the history
  3. PR feedback: text filters for everyone

    Jacob Beck committed May 4, 2020
    Configuration menu
    Copy the full SHA
    229d398 View commit details
    Browse the repository at this point in the history