Skip to content

Commit

Permalink
Readme & deleted the 'remove' line which does nothing.
Browse files Browse the repository at this point in the history
  • Loading branch information
avishalom authored and clrcrl committed Dec 14, 2020
1 parent bc80c65 commit 7c1082d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ Arguments:

#### unpivot ([source](macros/sql/unpivot.sql))
This macro "un-pivots" a table from wide format to long format. Functionality is similar to pandas [melt](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.melt.html) function.
Boolean values are replaced with the strings 'true'|'false'

Usage:
```
Expand Down
1 change: 0 additions & 1 deletion integration_tests/models/sql/test_unpivot_bool.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ from (
relation=ref('data_unpivot_bool'),
cast_to=dbt_utils.type_string(),
exclude=exclude,
remove='is_updated',
field_name='prop',
value_name='val'
) }}
Expand Down

0 comments on commit 7c1082d

Please sign in to comment.