Skip to content

Commit

Permalink
Clarify that union_relations() uses union all (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
owenprough-sift authored Jan 17, 2023
1 parent a6c3159 commit 52d9bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ from {{ ref('my_model') }}

#### union_relations ([source](macros/sql/union.sql))

This macro unions together an array of [Relations](https://docs.getdbt.com/docs/writing-code-in-dbt/class-reference/#relation),
This macro combines via `union all` an array of [Relations](https://docs.getdbt.com/docs/writing-code-in-dbt/class-reference/#relation),
even when columns have differing orders in each Relation, and/or some columns are
missing from some relations. Any columns exclusive to a subset of these
relations will be filled with `null` where not present. A new column
Expand Down

0 comments on commit 52d9bb5

Please sign in to comment.